#include <GL/glxext.h>
#include <string>
-/* attributes for a double buffered visual in RGBA format with at least
-* 4 bits per color */
+// attributes for a double buffered visual in RGBA format with at least 4 bits per color
static int attrList[] =
-{
+{
GLX_RGBA, GLX_DOUBLEBUFFER,
- GLX_RED_SIZE, 4,
- GLX_GREEN_SIZE, 4,
+ GLX_RED_SIZE, 4,
+ GLX_GREEN_SIZE, 4,
GLX_BLUE_SIZE, 4,
- None
+ None
};
VisualID GLXBackend::initialize(Display *display)