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:
Le Philousophe 2023-06-01 21:28:35 +02:00
parent a53cc4bc96
commit a95f42317c

View File

@ -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);