* X11GLNative.cs: Ensure that Width and Height properties return valid values in the OnLoad event.

This commit is contained in:
the_fiddler 2009-03-23 11:57:49 +00:00
parent 46b0cc4a36
commit c0f573f996

View file

@ -282,6 +282,9 @@ namespace OpenTK.Platform.X11
Debug.WriteLine(String.Format("X11GLNative window created successfully (id: {0}).", Handle)); Debug.WriteLine(String.Format("X11GLNative window created successfully (id: {0}).", Handle));
Debug.Unindent(); Debug.Unindent();
this.width = width;
this.height = height;
exists = true; exists = true;
} }