commit | 20c5cf1e8b1ee47360abc43d3eeba669e99f6542 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Wed May 29 03:22:19 2013 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Wed May 29 03:22:19 2013 -0700 |
tree | c3a943cf46d2f1518af09e72062f4c4791195d00 | |
parent | c55f53aa4088e2e407bf7d5ccdaa5c8fe9a4cb78 [diff] |
When the window is resized, the viewport is automatically reset. This resolves lots of confusion around resizable windows. Most people don't expect a viewport to be implicitly set when the renderer is created and then not to be reset to the window size if the window is resized. Added common test command line parameters --logical WxH and --scale N to test the render logical size and scaling APIs.