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

Ashton post-processing does not respect Apple Retina displays #41

Open
danini-the-panini opened this issue Jan 25, 2015 · 1 comment
Open

Comments

@danini-the-panini
Copy link

Running the ashton examples on my 2012 MacBook Pro Retina, the gosu window is created at four times the size (given 640 x 480, OS X gives gosu a 1280 x 960 viewport), however the Ashton post-processing still draws in the original 640 x 480 window. Below is a screenshot of the bloom example exhibiting this issue:

image

Is it possible to instruct Ashton to do post-processing over a larger area, or possibly detect the presence of a retina display and adjust accordingly?

@bil-bas
Copy link
Collaborator

bil-bas commented Jan 25, 2015

I'm guessing that Gosu::Window#height and Gosu::Window#width returns the incorrect size, which is what Ashton uses to create the full-screen buffers it needs to perform post-processing.

See: gosu/gosu#244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants