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
I modified the image example to show a 200K jpg, and running it shows first a black window for a second, and then the image on a white background. in GTK we could render the app completely before showing it, is this possible with piston?
The text was updated successfully, but these errors were encountered:
Looking at the source code for the event loop, it seems Piston tries to render first, so this should display the image. I don't know why it shows a black window.
Have you tried swapping the window backend? The default window backend for piston_window is Glutin. You can do this:
I modified the image example to show a 200K jpg, and running it shows first a black window for a second, and then the image on a white background. in GTK we could render the app completely before showing it, is this possible with piston?
The text was updated successfully, but these errors were encountered: