X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/141fa68c418105e1e60788f676cd7f6dcf9cbeb1..8a26468f18f8efc86767cacccbb7493a87858098:/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)