-
Notifications
You must be signed in to change notification settings - Fork 19
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
Resolution incorrect? #20
Comments
That is weird. What does GetScreenPixelSize() return? |
I have the exact same issue. I tried printf()-ing out GetScreenPixelSize().x, and it returned 4, although, I specified 1 in my code.
|
I'm having the same issue as well. Adjusting glutReshapeWindow() is a workaround, but FillRect would still be wrong. |
Can you try adding (false, false, true) to the end of the Construct function? |
Any followup? I am also running into this issue on latest version. |
No followup from me. I had to use something else not related to PGE on my project. |
I solved the issue. |
(Compiling and running the example code)
The pixels do not fit the box. The white square that is supposed to track the cursor tracks the position in the black window, so the issue seems to be that the pixels do not fill up the frame. Wrong pixel size? It seems to be half the length and width. Also, trying to set the window larger errors with "ERROR: The specified window dimensions do not fit on your screen" when it in theory should fit. My screen is 2880x1800 on a MacBook Pro.
The text was updated successfully, but these errors were encountered: