]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
VID_InitModeGL(): fix clear to black of new window
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 3 Oct 2023 08:32:04 +0000 (18:32 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 28 Oct 2023 08:21:22 +0000 (18:21 +1000)
commitde34c18f4daacd4f99a34623f8f061f6ccc903f5
tree30a6f98437696385a6c8793271a997b08dd3c331
parente6815ebce187ac7ddcddcdddc5a939df7c778c07
VID_InitModeGL(): fix clear to black of new window

The window was left with whatever was already in the framebuffer.
Also we can perform the clear a bit earlier.

Changes initial state of vid_activewindow to match the logic that sets
it during normal frames.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
vid_sdl.c