mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
clear bnet surface on alt+enter
This commit is contained in:
parent
a4725e7b2d
commit
e38222053b
@ -279,6 +279,8 @@ void util_toggle_fullscreen()
|
||||
if (g_ddraw->bnet_active)
|
||||
return;
|
||||
|
||||
memset(g_ddraw->primary->bnet_surface, 0, g_ddraw->width * g_ddraw->height);
|
||||
|
||||
if (g_ddraw->windowed)
|
||||
{
|
||||
mouse_unlock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user