mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-18 14:31:58 +00:00
togles: gamma fix, optimize texture convertation
This commit is contained in:
@@ -480,7 +480,7 @@ FORCEINLINE void GLMContext::FlushDrawStates( uint nStartIndex, uint nEndIndex,
|
||||
}
|
||||
|
||||
|
||||
if( m_pBoundPair->m_locAlphaRef )
|
||||
if( !gGL->m_bHave_GL_QCOM_alpha_test && m_pBoundPair->m_locAlphaRef )
|
||||
{
|
||||
if( !m_AlphaTestEnable.GetData().enable )
|
||||
gGL->glUniform1f( m_pBoundPair->m_locAlphaRef, 0.0 );
|
||||
|
||||
Reference in New Issue
Block a user