ref_gl: fix build

This commit is contained in:
Alibek Omarov 2019-10-06 06:55:04 +03:00
parent 4c559a4a08
commit ddf070b63d
2 changed files with 4 additions and 3 deletions

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

View File

@ -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 )
gEngfuncs.GL_GetAttribute( REF_GL_MULTISAMPLESAMPLES, &glConfig.msaasamples );
#ifdef XASH_WES
void wes_init( const char *gles2 );
wes_init( "" );
#endif
}