Files
xash3d-fwgs/ref/gl
Alibek Omarov 7a02110a42 ref: gl: fix out of bounds access
On GPUs where GL_ARB_shading_language_100 isn't available (i.e. all mobile GPUs
I believe) this function would return total amount of texture units available.

But ref_gl only tracks and uses MAX_TEXTURE_UNITS texture units, causing memory
corruption in functions that doesn't check the limit.
2025-10-17 09:19:23 +05:00
..
2025-10-17 09:19:23 +05:00
2024-01-28 09:55:18 +03:00