clear bnet surface on alt+enter
This commit is contained in:
parent
a4725e7b2d
commit
e38222053b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue