diff options
Diffstat (limited to 'src/opengl/qopengl2pexvertexarray_p.h')
-rw-r--r-- | src/opengl/qopengl2pexvertexarray_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qopengl2pexvertexarray_p.h b/src/opengl/qopengl2pexvertexarray_p.h index 9a7831578f..84c77f32ff 100644 --- a/src/opengl/qopengl2pexvertexarray_p.h +++ b/src/opengl/qopengl2pexvertexarray_p.h @@ -41,6 +41,7 @@ public: operator QPointF() {return QPointF(x,y);} operator QPointF() const {return QPointF(x,y);} }; +Q_DECLARE_TYPEINFO(QOpenGLPoint, Q_PRIMITIVE_TYPE); struct QOpenGLRect { @@ -57,6 +58,7 @@ struct QOpenGLRect operator QRectF() const {return QRectF(left, top, right-left, bottom-top);} }; +Q_DECLARE_TYPEINFO(QOpenGLRect, Q_PRIMITIVE_TYPE); class QOpenGL2PEXVertexArray { |