Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

SDL_SetTextureBlendMode broken, caught by Kai Sterker - Thanks!

  • Loading branch information
slouken committed Feb 5, 2011
1 parent de00f4b commit 74a661bb928b4efa8cafd3b3a79c999bf6e3bd4d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/render/SDL_render.c
@@ -459,7 +459,7 @@ SDL_SetTextureBlendMode(SDL_Texture * texture, SDL_BlendMode blendMode)
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 {

0 comments on commit 74a661b

Please sign in to comment.