Hi All, I am writing the game in C# with OpenTK.
And now the game was running perfectly in Windows.
But I have little problem, I am copying my sources project into Linux, and try to open it with MonoDevelop, it always give me an error.
The error line pointing when I am Set the Icon of Window
this.Icon = MyNameSpace.Properties.Resource.MainIcon
When I trace it, the error come from OpenTK\Platform\X11\X11GLNative.cs at INativeWindow Members -> Icon Properties, it hit the exception at line 1019 when the convert process between Icon and Bitmap
System.Drawing.Bitmap bitmap = value.ToBitmap();
Is this OpenTK bug? or what?
Can someone fix this?