Allocate the buffer according to the actual screen size, not the maximum (quite huge) possible one. Also, there is no need to call R_SetViewSize() if the screen size does not actually change.
Fixes zone memory: ...., 40 (and then) 80 MiB allocated for zone. case when using bordered screen size.
Allocate the buffer according to the actual screen size, not the maximum (quite huge) possible one. Also, there is no need to call
R_SetViewSize()
if the screen size does not actually change.Fixes
zone memory: ...., 40 (and then) 80 MiB allocated for zone.
case when using bordered screen size.