add egl3test
[gltest.git] / gltest.cpp
index 440e8f5ef5d1564150e2f1d6062b4a15840460fd..edc17f85851036a86730db2ee3752cb4301954ed 100644 (file)
@@ -31,14 +31,14 @@ namespace po = boost::program_options;
 // my GL utility functions and the GL window class
 #include "glutil.h"
 #include "glwindow.h"
 // 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();
 }
 #include "glxbackend.h"
 static GLBackend *createGLBackend()
 {
        return new GLXBackend();
 }
-#elif defined(USE_EGL)
+#elif defined(WIN_EGL)
 #include "eglbackend.h"
 static GLBackend *createGLBackend()
 {
 #include "eglbackend.h"
 static GLBackend *createGLBackend()
 {