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);