Browse Source

common: remove unused gamma definitions

pull/4/head
Alibek Omarov 12 months ago
parent
commit
ba9bb70924
  1. 3
      common/xash3d_types.h

3
common/xash3d_types.h

@ -58,9 +58,6 @@ typedef uint64_t longtime_t; @@ -58,9 +58,6 @@ typedef uint64_t longtime_t;
#define BIT( n ) ( 1U << ( n ))
#define BIT64( n ) ( 1ULL << ( n ))
#define GAMMA ( 2.2f ) // Valve Software gamma
#define INVGAMMA ( 1.0f / 2.2f ) // back to 1.0
#define TEXGAMMA ( 0.9f ) // compensate dim textures
#define SetBits( iBitVector, bits ) ((iBitVector) = (iBitVector) | (bits))
#define ClearBits( iBitVector, bits ) ((iBitVector) = (iBitVector) & ~(bits))
#define FBitSet( iBitVector, bit ) ((iBitVector) & (bit))

Loading…
Cancel
Save