X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/8dd990b1ed5cb3a4b78dfdf48b1f39d3f8bb0f0f..b4dc0596570275aa9def5ff63af951beb8473d58:/gltest.cpp?ds=sidebyside diff --git a/gltest.cpp b/gltest.cpp index 440e8f5..edc17f8 100644 --- a/gltest.cpp +++ b/gltest.cpp @@ -31,14 +31,14 @@ namespace po = boost::program_options; // my GL utility functions and the GL window class #include "glutil.h" #include "glwindow.h" -// include proper GL backend -#if defined(USE_GLX) +// include proper GL backend (windowing system) +#if defined(WIN_GLX) #include "glxbackend.h" static GLBackend *createGLBackend() { return new GLXBackend(); } -#elif defined(USE_EGL) +#elif defined(WIN_EGL) #include "eglbackend.h" static GLBackend *createGLBackend() {