Revert "#270 always clear entire screen"
This reverts commit 564419562f
.
This commit is contained in:
parent
564419562f
commit
68fe009736
2 changed files with 5 additions and 2 deletions
|
@ -804,7 +804,10 @@ static void ogl_render()
|
|||
|
||||
LeaveCriticalSection(&g_ddraw->cs);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
if (g_ddraw->render.viewport.x != 0 || g_ddraw->render.viewport.y != 0)
|
||||
{
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
if (scale_changed)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue