ref: make gReffuncs const

This commit is contained in:
Alibek Omarov
2024-07-16 15:23:03 +03:00
parent 2a394eee62
commit 2009140da8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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,
+1 -1
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_Shutdown = R_SimpleStub,
+1 -1
View File
@@ -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,