From b1d99de87a2dca98563f36bb7d61328aeee883c6 Mon Sep 17 00:00:00 2001 From: Jupeyy Date: Sun, 26 Nov 2017 14:10:47 +0100 Subject: [PATCH] s_ --- src/engine/client/backend_sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index f1765f21f..fcedebc16 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -273,7 +273,7 @@ void CCommandProcessorFragment_OpenGL::Cmd_Texture_Create(const CCommandBuffer:: Width>>=1; Height>>=1; } - while(Width > MaxTexSize || Height > MaxTexSize); + while(Width > s_MaxTexSize || Height > s_MaxTexSize); void *pTmpData = Rescale(pCommand->m_Width, pCommand->m_Height, Width, Height, pCommand->m_Format, static_cast(pCommand->m_pData)); mem_free(pTexData);