From 56794b45dddd882cf349e50dfe33ebaaa0b831eb Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 3 Mar 2017 07:35:40 +0100 Subject: [PATCH] Set explicitly to false --- src/pixmap.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pixmap.cxx b/src/pixmap.cxx index 38da1ca..8882fa4 100644 --- a/src/pixmap.cxx +++ b/src/pixmap.cxx @@ -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;