mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
togles: gamma fix, optimize texture convertation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user