projects
/
gltest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add egl3test
[gltest.git]
/
gltest.cpp
diff --git
a/gltest.cpp
b/gltest.cpp
index 440e8f5ef5d1564150e2f1d6062b4a15840460fd..edc17f85851036a86730db2ee3752cb4301954ed 100644
(file)
--- 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"
// 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()
{