src/render/software/SDL_render_sw.c
changeset 6247 b6212690f78d
parent 6246 c70ec935a4bb
child 6283 03a7ceb3487b
     1.1 --- a/src/render/software/SDL_render_sw.c	Sat Jan 21 22:22:30 2012 -0500
     1.2 +++ b/src/render/software/SDL_render_sw.c	Sun Jan 22 01:26:28 2012 -0500
     1.3 @@ -51,7 +51,7 @@
     1.4  static int SW_LockTexture(SDL_Renderer * renderer, SDL_Texture * texture,
     1.5                            const SDL_Rect * rect, void **pixels, int *pitch);
     1.6  static void SW_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture);
     1.7 -static int SW_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture);
     1.8 +static int SW_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture);
     1.9  static int SW_UpdateViewport(SDL_Renderer * renderer);
    1.10  static int SW_RenderClear(SDL_Renderer * renderer);
    1.11  static int SW_RenderDrawPoints(SDL_Renderer * renderer,
    1.12 @@ -145,7 +145,7 @@
    1.13      renderer->UpdateTexture = SW_UpdateTexture;
    1.14      renderer->LockTexture = SW_LockTexture;
    1.15      renderer->UnlockTexture = SW_UnlockTexture;
    1.16 -    renderer->SetTargetTexture = SW_SetTargetTexture;
    1.17 +    renderer->SetRenderTarget = SW_SetRenderTarget;
    1.18      renderer->UpdateViewport = SW_UpdateViewport;
    1.19      renderer->RenderClear = SW_RenderClear;
    1.20      renderer->RenderDrawPoints = SW_RenderDrawPoints;
    1.21 @@ -283,7 +283,7 @@
    1.22  }
    1.23  
    1.24  static int
    1.25 -SW_SetTargetTexture(SDL_Renderer * renderer, SDL_Texture * texture)
    1.26 +SW_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture)
    1.27  {
    1.28      SW_RenderData *data = (SW_RenderData *) renderer->driverdata;
    1.29