
OpenTK.QuickStart missing System.Drawing
Posted Sunday, 8 November, 2009 - 15:14 by rakkarage| Project: | The Open Toolkit library |
| Version: | 1.0-beta-1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
the quickstart sample seems to have removed a reference it still needs... system.drawing is not included in references...
it is technically not needed (if you change ClientRectangle.Width to Width)...
but one of those two needs to happen to make quickstart compilable? i vote #2


Comments
#1
line 042
GL.Viewport(ClientRectangle);was changed to
GL.Viewport(ClientRectangle.X, ClientRectangle.Y, ClientRectangle.Width, ClientRectangle.Height);needs to change to
GL.Viewport(X, Y, Width, Height);thanks
#2
or idk... maybe build.exe was not supposed to make project with system.drawing removed from project references?
#3
As a temporary workaround, I suggest simply adding the System.Drawing reference back.
I'm still trying to determine the extent of the breakage caused by the new structures before deciding on the best course of action.
#4
Fixed in rev. 2478 by reverting the System.Drawing-related changes.
#5
Closing issues fixed in 1.0 beta-1.