summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopenglbuffer.h')
-rw-r--r--src/gui/opengl/qopenglbuffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/opengl/qopenglbuffer.h b/src/gui/opengl/qopenglbuffer.h
index a3e5743a15..d76eb47be9 100644
--- a/src/gui/opengl/qopenglbuffer.h
+++ b/src/gui/opengl/qopenglbuffer.h
@@ -42,6 +42,8 @@
#ifndef QOPENGLBUFFER_H
#define QOPENGLBUFFER_H
+#ifndef QT_NO_OPENGL
+
#include <QtCore/qscopedpointer.h>
#include <QtGui/qopengl.h>
@@ -129,4 +131,6 @@ QT_END_NAMESPACE
QT_END_HEADER
+#endif // QT_NO_OPENGL
+
#endif