summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject_p.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-09-03 16:56:48 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-08 13:36:24 +0200
commit7ed5f3b867db5eb5b0bd6dc49828e0e6931b60f9 (patch)
tree895e46ec3c1ef83070843500cc3a791761727d20 /src/opengl/qglframebufferobject_p.h
parent6a3a234742e4f186dd065e48cb013036d5f7a621 (diff)
don't use QT_{BEGIN,END}_INCLUDE_NAMESPACE needlessly
these macros behave counter-intuitively, so don't use them unless the code structure really suggests their use. Change-Id: I58213b39f8a98e4368901217fac14ca49c28b8cf Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/opengl/qglframebufferobject_p.h')
-rw-r--r--src/opengl/qglframebufferobject_p.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/opengl/qglframebufferobject_p.h b/src/opengl/qglframebufferobject_p.h
index 37d786cf60..bab84916ea 100644
--- a/src/opengl/qglframebufferobject_p.h
+++ b/src/opengl/qglframebufferobject_p.h
@@ -53,15 +53,11 @@
// We mean it.
//
-QT_BEGIN_NAMESPACE
-
-QT_BEGIN_INCLUDE_NAMESPACE
-
#include <qglframebufferobject.h>
#include <private/qglpaintdevice_p.h>
#include <private/qgl_p.h>
-QT_END_INCLUDE_NAMESPACE
+QT_BEGIN_NAMESPACE
#ifndef QT_OPENGL_ES
#define DEFAULT_FORMAT GL_RGBA8