mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
s_
This commit is contained in:
parent
bff1186d3b
commit
b1d99de87a
|
@ -273,7 +273,7 @@ void CCommandProcessorFragment_OpenGL::Cmd_Texture_Create(const CCommandBuffer::
|
||||||
Width>>=1;
|
Width>>=1;
|
||||||
Height>>=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<const unsigned char *>(pCommand->m_pData));
|
void *pTmpData = Rescale(pCommand->m_Width, pCommand->m_Height, Width, Height, pCommand->m_Format, static_cast<const unsigned char *>(pCommand->m_pData));
|
||||||
mem_free(pTexData);
|
mem_free(pTexData);
|
||||||
|
|
Loading…
Reference in a new issue