Alibek Omarov
b45bc9af67
engine: remove gamma functions from RefAPI
2024-11-03 01:20:30 +03:00
Alibek Omarov
1f49ce599f
engine: client: fix out of bound read in gamma table access functions
2024-11-03 01:20:30 +03:00
Alibek Omarov
8af995cc28
engine: introduce REF_GET_*_PTR for gamma tables
2024-11-03 01:20:30 +03:00
Alibek Omarov
31fa990d44
engine: gamma: fix gamma changes not caught if gamma cvar was set during frame
2024-02-09 06:29:30 +03:00
Alibek Omarov
d3e60c7d84
engine: gamma: higher brightness limit for compatibility
2024-02-09 06:28:31 +03:00
Alibek Omarov
33da68b013
engine: client: move reseting gamma changed flag to the end of the frame for custom renderers
2024-02-05 03:41:15 +03:00
Alibek Omarov
a3acb1c85b
engine: gamma: validate gamma cvars in local games too
2024-01-30 17:55:36 +03:00
Alibek Omarov
be0a241244
engine: client: add tests for new gamma implementation
2024-01-09 03:33:39 +03:00
Alibek Omarov
df6546d5b1
engine: client: add new gamma implementation
...
* immediately expose it in RefAPI. Bump RefAPI to version 7.
* remove VID_StartupGamma, it's not used anymore
* remove stub lightgamma and direct cvars
* add a temporary check for v_direct and v_lightgamma default values
2024-01-09 03:33:24 +03:00