mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-08 22:07:20 +01:00
opengl*renderer: Show an empty frame early (#233)
Gives a better feedback to the user that something has actually launched.
This commit is contained in:
committed by
GitHub
parent
088eeaa743
commit
ecdef7f753
@@ -104,6 +104,10 @@ bool opengl33_renderer::Init(GLFWwindow *Window)
|
||||
glDebugMessageCallback( ErrorCallback, 0 );
|
||||
}
|
||||
|
||||
glClearColor( 0.f, 0.f, 0.f, 1.f );
|
||||
glClear( GL_COLOR_BUFFER_BIT );
|
||||
glfwSwapBuffers( Window );
|
||||
|
||||
if (!Init_caps())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user