-
Notifications
You must be signed in to change notification settings - Fork 46
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
MacOS - Example apps don't update projection matrix when window resized #179
Comments
Could you please check gl/glutin samples to confirm an upstream issue? |
Interesting results... Anyway the examples are all very simple, just renders one triangle. When resizing the 'window' example on MacOS the triangle is scaled to fit the window at all times. On Windows10 the triangle remains a fixed size, at a fixed position relative to the bottom/left corner of the window. So it gets cropped if the window shrinks. It also flickers and bounces a bit while resizing. This is the opposite of what I would have expected, but shows there are differences between platforms. |
|
@kbarros what version of |
I apologize, but today I can't reproduce the behavior I reported yesterday with three-rs resizing. Today I only observe the projection matrix / viewport issue that spacejack originally reported. Specifically, when resizing the window in the vertical direction, it appears that the viewport becomes vertically off-center. I confirmed that this resizing issue does not appear in the glutin and gfx/pre-ll examples. I tested only on MacOS. |
@kbarros thanks, I'll try to look into it. |
The projection matrix (or viewport?) is not updated when the window is resized as it is when running on Windows/Linux.
The text was updated successfully, but these errors were encountered: