summaryrefslogtreecommitdiffstats
path: root/src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h')
-rw-r--r--src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h b/src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h
index d422b5b8b..a92616f2f 100644
--- a/src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h
+++ b/src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h
@@ -37,8 +37,8 @@
**
****************************************************************************/
-#ifndef OPENGLVERTEXARRAYOBJECT_H
-#define OPENGLVERTEXARRAYOBJECT_H
+#ifndef QT3DRENDER_RENDER_OPENGL_OPENGLVERTEXARRAYOBJECT_H
+#define QT3DRENDER_RENDER_OPENGL_OPENGLVERTEXARRAYOBJECT_H
//
// W A R N I N G
@@ -60,10 +60,13 @@ namespace Qt3DRender {
namespace Render {
class GeometryManager;
-class GLShaderManager;
typedef QPair<HGeometry, Qt3DCore::QNodeId> VAOIdentifier;
+namespace OpenGL {
+
+class GLShaderManager;
+
class OpenGLVertexArrayObject
{
public:
@@ -103,9 +106,10 @@ private:
SubmissionContext::VAOIndexAttribute m_indexAttribute;
};
+} // namespace OpenGL
} // namespace Render
} // namespace Qt3DRender
QT_END_NAMESPACE
-#endif // OPENGLVERTEXARRAYOBJECT_H
+#endif // QT3DRENDER_RENDER_OPENGL_OPENGLVERTEXARRAYOBJECT_H