1
0
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:
FunkyFr3sh 2021-11-12 02:00:40 +01:00
parent a4725e7b2d
commit e38222053b

View File

@ -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();