is now s_

This commit is contained in:
Jupeyy 2017-11-26 14:08:00 +01:00
parent 14297ae45c
commit bff1186d3b

View file

@ -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) if(pCommand->m_Format == CCommandBuffer::TEXFORMAT_RGBA || pCommand->m_Format == CCommandBuffer::TEXFORMAT_RGB)
{ {
static int s_MaxTexSize = -1; static int s_MaxTexSize = -1;
if(MaxTexSize == -1) if(s_MaxTexSize == -1)
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &MaxTexSize); glGetIntegerv(GL_MAX_TEXTURE_SIZE, &s_MaxTexSize);
if(Width > MaxTexSize || Height > MaxTexSize) if(Width > s_MaxTexSize || Height > s_MaxTexSize)
{ {
do do
{ {