I just got the head from svn and it won't build.
IGLControl.cs seems to be missing.
I've fixed the build issues in my working copy, but I won't be able to commit the changes for the next 24 hours or so due to lack of time (I'm in the middle of an examination period...)
no problem, just thought i'd let you know.
Yeah, thanks :)
Ok, fixed the problems, the new GLControl should now build and run correctly.
Thanks, that all compiles fine now.
I still can't seem to subclass GLControl effectively though, I just get black.
Are there any special considerations I should be aware of to make this work, or am I just being dumb?
I'm testing right now, I'll let you know what I come up with.
I just commited a very simple change that forces the construction of the GLControl during the InitializeComponents() call. Can you test again and see if it works any better?
Ok, that kind of works. But it's gone a bit weird.
The first time I run it in the debugger after compiling, it gives me the null reference exception when I first call a GL function, but continues fine if I close the exception window, and subsequent runs work fine until I recompile.
It might be something at my end, I'll try cleaning out old intermediates and stuff.
OK, I deleted my obj and bin folders and it works properly now.
Glad to hear!
Site design by Stefanos A. Icons courtesy of gnome-colors.