mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: make gReffuncs const
This commit is contained in:
@@ -422,7 +422,7 @@ static const char *R_GetConfigName( void )
|
||||
return "opengl";
|
||||
}
|
||||
|
||||
static ref_interface_t gReffuncs =
|
||||
static const ref_interface_t gReffuncs =
|
||||
{
|
||||
R_Init,
|
||||
R_Shutdown,
|
||||
|
||||
@@ -441,7 +441,7 @@ static void VGUI_UploadTextureBlock( int drawX, int drawY, const byte *rgba, int
|
||||
;
|
||||
}
|
||||
|
||||
static ref_interface_t gReffuncs =
|
||||
static const ref_interface_t gReffuncs =
|
||||
{
|
||||
.R_Init = R_Init,
|
||||
.R_Shutdown = R_SimpleStub,
|
||||
|
||||
@@ -416,7 +416,7 @@ static void* GAME_EXPORT R_GetProcAddress( const char *name )
|
||||
return gEngfuncs.GL_GetProcAddress( name );
|
||||
}
|
||||
|
||||
static ref_interface_t gReffuncs =
|
||||
static const ref_interface_t gReffuncs =
|
||||
{
|
||||
R_Init,
|
||||
R_Shutdown,
|
||||
|
||||
Reference in New Issue
Block a user