Browse Source

ref_gl: fix build

pull/2/head
Alibek Omarov 5 years ago
parent
commit
ddf070b63d
  1. 2
      ref_gl/gl-wes-v2
  2. 5
      ref_gl/gl_opengl.c

2
ref_gl/gl-wes-v2

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit d1e441dca75b9277486bb23682c2c5772aa38478
Subproject commit c5d2f80ad936d30d3c0503a21df7467ce9c87779

5
ref_gl/gl_opengl.c

@ -1111,11 +1111,13 @@ void GL_SetupAttributes( int safegl ) @@ -1111,11 +1111,13 @@ void GL_SetupAttributes( int safegl )
}
}
void wes_init( const char *gles2 );
int nanoGL_Init( void );
void GL_OnContextCreated( void )
{
int colorBits[3];
#ifdef XASH_NANOGL
int nanoGL_Init( void );
nanoGL_Init();
#endif
@ -1132,7 +1134,6 @@ void GL_OnContextCreated( void ) @@ -1132,7 +1134,6 @@ void GL_OnContextCreated( void )
gEngfuncs.GL_GetAttribute( REF_GL_MULTISAMPLESAMPLES, &glConfig.msaasamples );
#ifdef XASH_WES
void wes_init( const char *gles2 );
wes_init( "" );
#endif
}

Loading…
Cancel
Save