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
If the user accidentaly flips the camera's viewport so that left > right or bottom > top, a negative width/height will be sent to glViewport and glScissor which will result in a quiet OpenGL error and flickering issues. It is super easy to mix up the camera's viewport parameters, so I suggest adding a check to ensure that the camera's viewport width and height remain positive.
The text was updated successfully, but these errors were encountered:
stephengold
changed the title
Camera Viewport Demensions not Checked
Camera Viewport Dimensions not Checked
Nov 30, 2024
If the user accidentaly flips the camera's viewport so that left > right or bottom > top, a negative width/height will be sent to
glViewport
andglScissor
which will result in a quiet OpenGL error and flickering issues. It is super easy to mix up the camera's viewport parameters, so I suggest adding a check to ensure that the camera's viewport width and height remain positive.The text was updated successfully, but these errors were encountered: