[Mono-winforms-list] Handle Problem
Jackson Harper
jackson@ximian.com
Tue, 12 Oct 2004 09:17:52 -0700
On Tue, 2004-10-12 at 08:54 -0700, Jackson Harper wrote:
> wglCreateContext is for creating a context on windows. On X you will
> need to use glXCreateContext and glXChooseVisual. Either that or use
> GLUT. The Form.Handle property returns the Handle created by
> XOpenDisplay so this is the handle that you will need for
> glXCreateContext and glXCreateVisual.
>
Sorry, there was an error in my last message. You will need both the X
display handle and the window handle. Currently there is no public API
for getting the display handle. We are looking into a solution to this
problem though.
Thanks for bringing this to our attention,
Jackson