Xlib + openGL
Hi!
When I run my program, I get this error:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 18
Current serial number in output stream: 18
I cannot find out which parameter that is wrong....the window is created, and the display to, and the glXCreateContext returns a non NULL pointer.
If the openGL code is removed, the window show up on screen.
I cannot understand this dump from the X server...any ideas?
|