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