From bff1186d3b87deb33e509ff896b42a98907968c3 Mon Sep 17 00:00:00 2001 From: Jupeyy Date: Sun, 26 Nov 2017 14:08:00 +0100 Subject: [PATCH] is now s_ --- src/engine/client/backend_sdl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 30bd3834c..f1765f21f 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -264,9 +264,9 @@ void CCommandProcessorFragment_OpenGL::Cmd_Texture_Create(const CCommandBuffer:: if(pCommand->m_Format == CCommandBuffer::TEXFORMAT_RGBA || pCommand->m_Format == CCommandBuffer::TEXFORMAT_RGB) { static int s_MaxTexSize = -1; - if(MaxTexSize == -1) - glGetIntegerv(GL_MAX_TEXTURE_SIZE, &MaxTexSize); - if(Width > MaxTexSize || Height > MaxTexSize) + if(s_MaxTexSize == -1) + glGetIntegerv(GL_MAX_TEXTURE_SIZE, &s_MaxTexSize); + if(Width > s_MaxTexSize || Height > s_MaxTexSize) { do {