togles: gamma fix, optimize texture convertation

This commit is contained in:
nillerusr
2022-03-28 00:45:37 +03:00
parent cca56d5a6f
commit 3558b0e03c
9 changed files with 82 additions and 177 deletions

View File

@@ -99,7 +99,10 @@ void CPersistentBuffer::Init( EGLMBufferType type,uint nSize )
m_nSize = nSize;
m_nOffset = 0;
m_type = type;
if( strcmp(gGL->glGetString(GL_RENDERER), "ARM") == 0 )
g_bUsePseudoBufs = true; // works faster with Mali gpu
switch ( type )
{
case kGLMVertexBuffer: m_buffGLTarget = GL_ARRAY_BUFFER; break;