Getting the window handle is not enough to create the OpenGL context on X11.
How are you creating the context? Is this done on the C++ side or on C#? If
it's the latter, you could just use an OpenTK.GLControl to create a context
in your WinForms app and leave everything else the same (
http://www.opentk.com). If it's the former, you'll have to look up how the
C++ library creates the context and find a way to pass the necessary
information from your app to that (you'll probably need to use reflection in
order to access the display connection, screen and visual used by Mono
WinForms).
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to