1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Set explicitly to false

This commit is contained in:
Mathieu Schroeter 2017-03-03 07:35:40 +01:00
parent ec06fcc410
commit 56794b45dd

View File

@ -251,6 +251,7 @@ bool CPixmap::Cache (size_t channel, SDL_Surface *surface, POINT totalDim)
m_SDLTextureInfo[channel].texture =
SDL_CreateTextureFromSurface (g_renderer, surface);
m_SDLTextureInfo[channel].target = false;
if (!m_SDLTextureInfo[channel].texture)
return false;