1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

always clear on wine

This commit is contained in:
FunkyFr3sh 2020-10-23 15:40:13 +02:00
parent 53e2e627fa
commit 7229a2a34e

View File

@ -675,6 +675,10 @@ static void ogl_render()
if (glGetError() != GL_NO_ERROR)
g_ogl.use_opengl = FALSE;
}
else if (g_ddraw->wine)
{
glClear(GL_COLOR_BUFFER_BIT);
}
if (!g_ddraw->handlemouse)
{