X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/06ad8dcac2fac86d1f6715a51b50356a68ffe362..b4dc0596570275aa9def5ff63af951beb8473d58:/glxbackend.cpp diff --git a/glxbackend.cpp b/glxbackend.cpp index a957e5b..97e6937 100644 --- a/glxbackend.cpp +++ b/glxbackend.cpp @@ -24,6 +24,10 @@ #include #include +#if !defined(CON_GL1) +#error "Valid GL contexts for GLX are: GL1" +#endif + // attributes for a double buffered visual in RGBA format with at least 4 bits per color static int attrList[] = {