
WindowBorder.Fixed causes 1x1 sized window on Linux
Posted Wednesday, 17 March, 2010 - 22:35 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 1.0.0-rc1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Setting WindowBorder = WindowBorder.Fixed in the GameWindow constructor or Load event changes window size to 1x1. The reason is that Width and Height have not been updated to contain the correct values yet and are still at their default value of 0 (which is artificially increased to 1 to avoid InvalidValue errors in GL.Viewport and division-by-zero exceptions).
Issue first reported here: http://www.opentk.com/node/1647


Comments
#1
Fixed in r2644 of 1.0 branch.
#2
Closing issues fixed in opentk-1.0.0-rc1.