mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +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)
|
if (g_ddraw->bnet_active)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
memset(g_ddraw->primary->bnet_surface, 0, g_ddraw->width * g_ddraw->height);
|
||||||
|
|
||||||
if (g_ddraw->windowed)
|
if (g_ddraw->windowed)
|
||||||
{
|
{
|
||||||
mouse_unlock();
|
mouse_unlock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user