src/render/opengl/SDL_render_gl.c
changeset 6247 b6212690f78d
parent 6246 c70ec935a4bb
child 6260 fd494c5f305b
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Sat Jan 21 22:22:30 2012 -0500
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Sun Jan 22 01:26:28 2012 -0500
     1.3 @@ -54,7 +54,7 @@
     1.4  static int GL_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
     1.5                            const SDL_Rect * rect, void **pixels, int *pitch);
     1.6  static void GL_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture);
     1.7 -static int GL_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture);
     1.8 +static int GL_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture);
     1.9  static int GL_UpdateViewport(SDL_Renderer * renderer);
    1.10  static int GL_RenderClear(SDL_Renderer * renderer);
    1.11  static int GL_RenderDrawPoints(SDL_Renderer * renderer,
    1.12 @@ -307,7 +307,7 @@
    1.13      renderer->UpdateTexture = GL_UpdateTexture;
    1.14      renderer->LockTexture = GL_LockTexture;
    1.15      renderer->UnlockTexture = GL_UnlockTexture;
    1.16 -    renderer->SetTargetTexture = GL_SetTargetTexture;
    1.17 +    renderer->SetRenderTarget = GL_SetRenderTarget;
    1.18      renderer->UpdateViewport = GL_UpdateViewport;
    1.19      renderer->RenderClear = GL_RenderClear;
    1.20      renderer->RenderDrawPoints = GL_RenderDrawPoints;
    1.21 @@ -707,7 +707,7 @@
    1.22  }
    1.23  
    1.24  static int
    1.25 -GL_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture)
    1.26 +GL_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture)
    1.27  {
    1.28      GL_RenderData *data = (GL_RenderData *) renderer->driverdata;    
    1.29      GL_TextureData *texturedata;