OPENGL: Limit scissor override to invisible overlay.
This fixes some corner cases which caused black bars to appear for a few screen updates when the overlay is visible.
This commit is contained in:
parent
f9085aca06
commit
942d0fdad4
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ void OpenGLGraphicsManager::updateScreen() {
|
||||||
_forceRedraw = false;
|
_forceRedraw = false;
|
||||||
|
|
||||||
// Clear the screen buffer.
|
// Clear the screen buffer.
|
||||||
if (_scissorOverride) {
|
if (_scissorOverride && !_overlayVisible) {
|
||||||
// In certain cases we need to assure that the whole screen area is
|
// In certain cases we need to assure that the whole screen area is
|
||||||
// cleared. For example, when switching from overlay visible to
|
// cleared. For example, when switching from overlay visible to
|
||||||
// invisible, we need to assure that all contents are cleared to
|
// invisible, we need to assure that all contents are cleared to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue