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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_SetTextureBlendMode (
|
if (channel != CHBACK)
|
||||||
m_SDLTextureInfo[channel].texture, SDL_BLENDMODE_BLEND);
|
SDL_SetTextureBlendMode (
|
||||||
|
m_SDLTextureInfo[channel].texture, SDL_BLENDMODE_BLEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_SetRenderTarget (g_renderer, m_SDLTextureInfo[channel].texture);
|
SDL_SetRenderTarget (g_renderer, m_SDLTextureInfo[channel].texture);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user