mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-11-10 06:31:48 +00:00
Avoid conflict with gamma(3) in utils/vrad/vrad.h.
The name of the global variable conflicts with the deprecated gamma function from <math.h> on some systems. Additionally the variable appears to be unused - should it rather just be deleted from the codebase?
This commit is contained in:
parent
c5fb3851bb
commit
b64d2e878c
4 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,7 @@ bool g_bOnlyStaticProps = false;
|
|||
bool g_bShowStaticPropNormals = false;
|
||||
|
||||
|
||||
float gamma = 0.5;
|
||||
float gamma_value = 0.5;
|
||||
float indirect_sun = 1.0;
|
||||
float reflectivityScale = 1.0;
|
||||
qboolean do_extra = true;
|
||||
|
|
|
@ -336,7 +336,7 @@ extern dface_t *g_pFaces;
|
|||
extern bool g_bMPIProps;
|
||||
|
||||
extern byte nodehit[MAX_MAP_NODES];
|
||||
extern float gamma;
|
||||
extern float gamma_value;
|
||||
extern float indirect_sun;
|
||||
extern float smoothing_threshold;
|
||||
extern int dlight_map;
|
||||
|
|
|
@ -93,7 +93,7 @@ bool g_bOnlyStaticProps = false;
|
|||
bool g_bShowStaticPropNormals = false;
|
||||
|
||||
|
||||
float gamma = 0.5;
|
||||
float gamma_value = 0.5;
|
||||
float indirect_sun = 1.0;
|
||||
float reflectivityScale = 1.0;
|
||||
qboolean do_extra = true;
|
||||
|
|
|
@ -336,7 +336,7 @@ extern dface_t *g_pFaces;
|
|||
extern bool g_bMPIProps;
|
||||
|
||||
extern byte nodehit[MAX_MAP_NODES];
|
||||
extern float gamma;
|
||||
extern float gamma_value;
|
||||
extern float indirect_sun;
|
||||
extern float smoothing_threshold;
|
||||
extern int dlight_map;
|
||||
|
|
Loading…
Reference in a new issue