togles: use original glCompressedTexture2D when gpu have DXT support

This commit is contained in:
nillerusr
2022-05-01 15:53:52 +03:00
parent 2ec2a47a53
commit ce68fffa3b
4 changed files with 14 additions and 21 deletions
+1 -1
View File
@@ -472,7 +472,7 @@ CGLMBuffer::CGLMBuffer( GLMContext *pCtx, EGLMBufferType type, uint size, uint o
m_bPseudo = true;
#endif
const char *szRenderer = gGL->glGetString(GL_VENDOR);
const char *szRenderer = (const char*)gGL->glGetString(GL_VENDOR);
// Msg("GL_VENDOR: %s\n", szRenderer);
if( strcmp(szRenderer, "ARM") == 0 )