You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A way to control the initialization of the window when the game opens up, e.g. at least be able to set a color.
Why is this needed?
My game intro screen has a black background, and when launching it, there is a not very pleasing white background that flashes in the window, before the first draw.
This can be reproduced by running the paint example with the following changes:
I’m also thinking I could perhaps delay the showing of the window after it’s been created somehow, to make sure there is at least one rendering that’s been done?
Fixeshajimehoshi#2725 by avoiding the flash in the first place. Showing the
window this way was already default on macOS; This makes it default
for all glfw platforms.
Operating System
What feature would you like to be added?
A way to control the initialization of the window when the game opens up, e.g. at least be able to set a color.
Why is this needed?
My game intro screen has a black background, and when launching it, there is a not very pleasing white background that flashes in the window, before the first draw.
This can be reproduced by running the
paint
example with the following changes:The bigger the window, the more visible it seems to be.
The text was updated successfully, but these errors were encountered: