diff options
Diffstat (limited to 'src/gui/opengl/qopenglframebufferobject.h')
-rw-r--r-- | src/gui/opengl/qopenglframebufferobject.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/opengl/qopenglframebufferobject.h b/src/gui/opengl/qopenglframebufferobject.h index 340f5783de..c1c6a71b3c 100644 --- a/src/gui/opengl/qopenglframebufferobject.h +++ b/src/gui/opengl/qopenglframebufferobject.h @@ -42,6 +42,8 @@ #ifndef QOPENGLFRAMEBUFFEROBJECT_H #define QOPENGLFRAMEBUFFEROBJECT_H +#ifndef QT_NO_OPENGL + #include <QtGui/qopengl.h> #include <QtGui/qpaintdevice.h> @@ -159,4 +161,7 @@ private: QT_END_NAMESPACE QT_END_HEADER + +#endif // QT_NO_OPENGL + #endif // QOPENGLFRAMEBUFFEROBJECT_H |