mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 09:01:54 +00:00
r_ignorehwgamma 1 does not actually turn on software gamma (#5511) - patch by Serge Belyshev
This commit is contained in:
parent
c9fc250532
commit
1af9c636a5
2 changed files with 7 additions and 1 deletions
|
@ -39,7 +39,7 @@ void GLimp_SetGamma( unsigned char red[256], unsigned char green[256], unsigned
|
|||
Uint16 table[3][256];
|
||||
int i, j;
|
||||
|
||||
if( !glConfig.deviceSupportsGamma || r_ignorehwgamma->integer )
|
||||
if( !glConfig.deviceSupportsGamma || r_ignorehwgamma->integer > 0 )
|
||||
return;
|
||||
|
||||
for (i = 0; i < 256; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue