mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Add missing capability for GLES backend
This commit is contained in:
parent
fda0eccf37
commit
eb3406c4cf
|
@ -538,6 +538,8 @@ bool CCommandProcessorFragment_OpenGL::InitOpenGL(const SCommand_Init *pCommand)
|
||||||
pCommand->m_pCapabilities->m_3DTextures = false;
|
pCommand->m_pCapabilities->m_3DTextures = false;
|
||||||
pCommand->m_pCapabilities->m_2DArrayTextures = false;
|
pCommand->m_pCapabilities->m_2DArrayTextures = false;
|
||||||
pCommand->m_pCapabilities->m_NPOTTextures = false;
|
pCommand->m_pCapabilities->m_NPOTTextures = false;
|
||||||
|
|
||||||
|
pCommand->m_pCapabilities->m_TrianglesAsQuads = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -551,6 +553,8 @@ bool CCommandProcessorFragment_OpenGL::InitOpenGL(const SCommand_Init *pCommand)
|
||||||
pCommand->m_pCapabilities->m_3DTextures = true;
|
pCommand->m_pCapabilities->m_3DTextures = true;
|
||||||
pCommand->m_pCapabilities->m_2DArrayTextures = true;
|
pCommand->m_pCapabilities->m_2DArrayTextures = true;
|
||||||
pCommand->m_pCapabilities->m_NPOTTextures = true;
|
pCommand->m_pCapabilities->m_NPOTTextures = true;
|
||||||
|
|
||||||
|
pCommand->m_pCapabilities->m_TrianglesAsQuads = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue