the Fiddler's picture

WindowBorder.Fixed causes 1x1 sized window on Linux

Project:The Open Toolkit library
Version:1.0.0-rc1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

#1

Status:confirmed» fixed

Fixed in r2644 of 1.0 branch.

the Fiddler's picture

#2

Version:1.0-beta-3» 1.0.0-rc1
Status:fixed» closed

Closing issues fixed in opentk-1.0.0-rc1.