src/render/SDL_render.c
changeset 5180 4d098d286794
parent 5166 4d39eeaad00b
child 5192 ef5a61ea3202
--- a/src/render/SDL_render.c	Fri Feb 04 23:31:56 2011 -0800
+++ b/src/render/SDL_render.c	Sat Feb 05 00:32:04 2011 -0800
@@ -459,7 +459,7 @@
     renderer = texture->renderer;
     texture->blendMode = blendMode;
     if (texture->native) {
-        return SDL_SetTextureBlendMode(texture, blendMode);
+        return SDL_SetTextureBlendMode(texture->native, blendMode);
     } else if (renderer->SetTextureBlendMode) {
         return renderer->SetTextureBlendMode(renderer, texture);
     } else {