1
0
Fork 0

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:
Henrik Hautakoski 2017-02-28 14:33:06 +01:00
parent ab9a7e576c
commit e0f9ffc75f

View file

@ -27,6 +27,8 @@ bool Graphics::init()
setClearColor(0.0f, 0.0f, 0.0f);
swapBuffers();
return true;
}