Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White flicker at startup since Gosu 0.9 #280

Closed
jlnr opened this issue Jun 14, 2015 · 1 comment
Closed

White flicker at startup since Gosu 0.9 #280

jlnr opened this issue Jun 14, 2015 · 1 comment

Comments

@jlnr
Copy link
Member

jlnr commented Jun 14, 2015

Apparently even this simple program flickers white on Windows, for a few milliseconds:

require "gosu"

Gosu::Window.new(320, 240, false).show

Reported here: https://www.libgosu.org/cgi-bin/mwf/topic_show.pl?pid=8386#pid8386

@jlnr jlnr added this to the 1.0 milestone Jun 14, 2015
@jlnr jlnr added the graphics label Jul 25, 2015
@jlnr
Copy link
Member Author

jlnr commented Sep 13, 2015

I guess it happens because the Gosu::Window constructor already creates and shows(!) the window, which happens to be white by default. Fix: Only show the window in Gosu::Window#show.

@jlnr jlnr removed this from the 1.0 milestone Sep 13, 2015
@jlnr jlnr closed this as completed in 4a047a3 Sep 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant