Mercurial > sdl-ios-xcode
changeset 5183:4d098d286794
SDL_SetTextureBlendMode broken, caught by Kai Sterker - Thanks!
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Feb 2011 00:32:04 -0800 |
parents | f652a24a2e99 |
children | d2652aafafbb |
files | src/render/SDL_render.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 {