GraphicsOpenGL.cpp: in init() call swapBuffers() to fill the screen with black as early as possible (right now there are some issue with WinAPI that displays a white rectangle).
This commit is contained in:
parent
ab9a7e576c
commit
e0f9ffc75f
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ bool Graphics::init()
|
|||
|
||||
setClearColor(0.0f, 0.0f, 0.0f);
|
||||
|
||||
swapBuffers();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue