mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix black backgrounds with opengles2
This commit is contained in:
parent
33464784ed
commit
34869f1736
@ -254,8 +254,9 @@ CPixmap::Cache (
|
||||
return false;
|
||||
}
|
||||
|
||||
SDL_SetTextureBlendMode (
|
||||
m_SDLTextureInfo[channel].texture, SDL_BLENDMODE_BLEND);
|
||||
if (channel != CHBACK)
|
||||
SDL_SetTextureBlendMode (
|
||||
m_SDLTextureInfo[channel].texture, SDL_BLENDMODE_BLEND);
|
||||
}
|
||||
|
||||
SDL_SetRenderTarget (g_renderer, m_SDLTextureInfo[channel].texture);
|
||||
|
Loading…
x
Reference in New Issue
Block a user