2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 18:07:09 +01:00

ref: soft: cleanup after RefAPI changes, remove unused functions

This commit is contained in:
Alibek Omarov 2024-01-27 22:45:27 +03:00
parent 0579e40857
commit 02c5890c2f
2 changed files with 0 additions and 45 deletions

View File

@ -317,11 +317,6 @@ static void GAME_EXPORT R_ShowTextures( void )
// textures undone too
}
static void GAME_EXPORT R_ShowTree( void )
{
// do we really need this here???
}
void GAME_EXPORT R_SetupSky(const char *skyboxname)
{
@ -378,11 +373,6 @@ static void GAME_EXPORT GL_TextureTarget(uint target)
}
static void GAME_EXPORT GL_BuildLightmaps( void )
{
CL_RunLightStyles();
}
void GAME_EXPORT Mod_SetOrthoBounds(const float *mins, const float *maxs)
{

View File

@ -1596,41 +1596,6 @@ void GAME_EXPORT R_RenderScene( void )
// R_EndGL();
}
/*
===============
R_DoResetGamma
gamma will be reset for
some type of screenshots
===============
*/
static qboolean R_DoResetGamma( void )
{
// FIXME: this looks ugly. apply the backward gamma changes to the output image
return false;
#if 0
switch( cls.scrshot_action )
{
case scrshot_normal:
if( CL_IsDevOverviewMode( ))
return true;
return false;
case scrshot_snapshot:
if( CL_IsDevOverviewMode( ))
return true;
return false;
case scrshot_plaque:
case scrshot_savegame:
case scrshot_envshot:
case scrshot_skyshot:
case scrshot_mapshot:
return true;
default:
return false;
}
#endif
}
void R_GammaChanged( qboolean do_reset_gamma )
{
if( do_reset_gamma ) // unused