mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-01 14:21:41 +00:00
BACKENDS: OPENGL: Clear screen using opaque black instead of transparent
This looks like an overlook since the creation of the backend. Previous Android backend used this and it shouldn't harm other platforms. This should fix a bug on ChromeOS.
This commit is contained in:
parent
a53cc4bc96
commit
a95f42317c
@ -1360,8 +1360,8 @@ void OpenGLGraphicsManager::notifyContextCreate(ContextType type,
|
||||
|
||||
// Setup backbuffer state.
|
||||
|
||||
// Default to black as clear color.
|
||||
_backBuffer.setClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
// Default to opaque black as clear color.
|
||||
_backBuffer.setClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
|
||||
_pipeline->setFramebuffer(&_backBuffer);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user