SimpleWindow.suppressAutoOpenglViewport

When in opengl mode and automatically resizing, it will set the opengl viewport to stretch.

If you work with multiple opengl contexts and/or threads, this might be more trouble than it is worth so you can disable it by setting this to true.

class SimpleWindow
bool suppressAutoOpenglViewport;

Meta

History

Added November 13, 2022.