mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
is now s_
This commit is contained in:
parent
14297ae45c
commit
bff1186d3b
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue