src/render/SDL_render.c
changeset 6247 b6212690f78d
parent 6246 c70ec935a4bb
child 6258 fce7ce72677b
--- a/src/render/SDL_render.c	Sat Jan 21 22:22:30 2012 -0500
+++ b/src/render/SDL_render.c	Sun Jan 22 01:26:28 2012 -0500
@@ -804,14 +804,14 @@
 SDL_bool
 SDL_RenderTargetSupported(SDL_Renderer *renderer)
 {
-    if (!renderer || !renderer->SetTargetTexture) {
+    if (!renderer || !renderer->SetRenderTarget) {
         return SDL_FALSE;
     }
     return (renderer->info.flags & SDL_RENDERER_TARGETTEXTURE) != 0;
 }
 
 int
-SDL_SetTargetTexture(SDL_Renderer *renderer, SDL_Texture *texture)
+SDL_SetRenderTarget(SDL_Renderer *renderer, SDL_Texture *texture)
 {
     SDL_Rect viewport;
 
@@ -847,7 +847,7 @@
     }
     renderer->target = texture;
 
-    if (renderer->SetTargetTexture(renderer, texture) < 0) {
+    if (renderer->SetRenderTarget(renderer, texture) < 0) {
         return -1;
     }