ref: make gReffuncs const

This commit is contained in:
Alibek Omarov 2024-07-16 15:13:59 +03:00
parent 2a394eee62
commit 2009140da8
3 changed files with 3 additions and 3 deletions

View file

@ -422,7 +422,7 @@ static const char *R_GetConfigName( void )
return "opengl"; return "opengl";
} }
static ref_interface_t gReffuncs = static const ref_interface_t gReffuncs =
{ {
R_Init, R_Init,
R_Shutdown, R_Shutdown,

View file

@ -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_Init = R_Init,
.R_Shutdown = R_SimpleStub, .R_Shutdown = R_SimpleStub,

View file

@ -416,7 +416,7 @@ static void* GAME_EXPORT R_GetProcAddress( const char *name )
return gEngfuncs.GL_GetProcAddress( name ); return gEngfuncs.GL_GetProcAddress( name );
} }
static ref_interface_t gReffuncs = static const ref_interface_t gReffuncs =
{ {
R_Init, R_Init,
R_Shutdown, R_Shutdown,