X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/92d3b1692f11658cad027cd597019eabd65faf89..08f1ed05c2541efad748e78db01af569d84c3363:/glxbackend.cpp diff --git a/glxbackend.cpp b/glxbackend.cpp index 9f8ed3e..a957e5b 100644 --- a/glxbackend.cpp +++ b/glxbackend.cpp @@ -24,15 +24,14 @@ #include #include -/* 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)