I’m trying to draw a square in a pixmap (XPixmap) and generate a xpm file with the image, but when the file is opened garbage is displayed instead of the square.
I use the version of GLX 1.4 and in the list of the attribute I insert the double buffering value to the function glXChoooseVisual. I do not have this problem with the version 1.3 of GLX.
Anyone could helps me?
The operating system is RHEL 5 and I tested with multiple Nvidia card graphics (Nvidia Quatro K2000D and driver version 340.46).