ValveSoftware / halflife

Half-Life 1 engine based games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[HL] "lightgamma" Command Triggers "Hunk_Alloc" Fatal Error

0Ky opened this issue · comments

I've encountered a crash in Half-Life when executing the lightgamma command with a value equal to or less than 1.8, resulting in the error Hunk_Alloc: failed on 200 bytes. This issue occurs consistently on Linux and Windows version of the game running with OpenGL video renderer, suggesting a possible memory allocation problem.

image

This happens if changing lightgamma, gamma, or brightness multiple times as well.