ref: make gReffuncs const
This commit is contained in:
parent
2a394eee62
commit
2009140da8
3 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue