mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-25 22:34:24 +00:00
ref_gl: show r_info after loading extensions, add GL_GetProcAddress call
This commit is contained in:
parent
7d3e8c0a57
commit
bb8ba4225c
@ -372,6 +372,18 @@ void GL_CheckExtension( const char *name, const dllfunc_t *funcs, const char *cv
|
|||||||
else gEngfuncs.Con_Reportf( "- ^1failed\n" );
|
else gEngfuncs.Con_Reportf( "- ^1failed\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
==============
|
||||||
|
GL_GetProcAddress
|
||||||
|
|
||||||
|
defined just for nanogl/glwes, so it don't link to SDL2 directly, nor use dlsym
|
||||||
|
==============
|
||||||
|
*/
|
||||||
|
void GAME_EXPORT *GL_GetProcAddress( const char *name )
|
||||||
|
{
|
||||||
|
return gEngfuncs.GL_GetProcAddress( name );
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
===============
|
===============
|
||||||
GL_SetDefaultTexState
|
GL_SetDefaultTexState
|
||||||
@ -709,6 +721,8 @@ void GL_InitExtensions( void )
|
|||||||
GL_InitExtensionsBigGL();
|
GL_InitExtensionsBigGL();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
R_RenderInfo_f();
|
||||||
|
|
||||||
// enable gldebug if allowed
|
// enable gldebug if allowed
|
||||||
if( GL_Support( GL_DEBUG_OUTPUT ))
|
if( GL_Support( GL_DEBUG_OUTPUT ))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user