I am trying to create a GLX window for drawing images.
I am able to create an Application shell and a GLXDraw
widget as its child, but having problems with GL
initialization. The ginitCB routine that I got hold of
from the man pages gives the following compilation error
which I cannot see a way to get rid of.
error: bad argument 3 type for XtAddCallback(): void *(*)(Widget ,
int , GlxDrawCallbackStruct *) ( XtCallbackProc expected)
If I try to initialize using the GLXwinset() function instead,
nothing seems to happen. The window that I open has writings
from the background.
Any help in the right direction will be greatly appreciated.
The Ohio State University