mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-24 05:44:16 +00:00
ref_gl: force gles2 on non-nanogl until we support gles1 directly
This commit is contained in:
parent
a982562658
commit
6bc613bdb4
@ -1378,7 +1378,7 @@ void GL_SetupAttributes( int safegl )
|
||||
#ifdef XASH_NANOGL
|
||||
gEngfuncs.GL_SetAttribute( REF_GL_CONTEXT_MAJOR_VERSION, 1 );
|
||||
gEngfuncs.GL_SetAttribute( REF_GL_CONTEXT_MINOR_VERSION, 1 );
|
||||
#elif defined( XASH_WES ) || defined( XASH_REGAL )
|
||||
#else
|
||||
gEngfuncs.GL_SetAttribute( REF_GL_CONTEXT_MAJOR_VERSION, 2 );
|
||||
gEngfuncs.GL_SetAttribute( REF_GL_CONTEXT_MINOR_VERSION, 0 );
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user