diff --git a/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp b/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp index 1a1fee21a0..b0bc682f29 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp @@ -491,7 +491,9 @@ void TextureCache::DisableStage(unsigned int stage) void TextureCache::SetStage () { - glActiveTexture(GL_TEXTURE0 + s_ActiveTexture); + // -1 is the initial value as we don't know which testure should be bound + if(s_ActiveTexture != (u32)-1) + glActiveTexture(GL_TEXTURE0 + s_ActiveTexture); } void TextureCache::SetNextStage ( unsigned int stage )