summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-03-16 02:09:27 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-03-16 02:09:27 (GMT)
commitdd703f7a7e676f26dcb3ad634d75e0c9f677db43 (patch)
treef29f903c584349fe7ef67d43613f9fddaeb85aba /src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h
parent081fafe395d52ae42b57c36d1279e6ac05ae2cde (diff)
parente56c5483fe8b292545bb9f004d796abd8ae00589 (diff)
downloadQt-dd703f7a7e676f26dcb3ad634d75e0c9f677db43.zip
Qt-dd703f7a7e676f26dcb3ad634d75e0c9f677db43.tar.gz
Qt-dd703f7a7e676f26dcb3ad634d75e0c9f677db43.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Conflicts: src/declarative/qml/qdeclarativeengine.cpp tests/auto/declarative/qdeclarativelistmodel/tst_qdeclarativelistmodel.cpp
Diffstat (limited to 'src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h')
-rw-r--r--src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h b/src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h
index d1e7615..adc69ee 100644
--- a/src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h
+++ b/src/opengl/gl2paintengineex/qgl2pexvertexarray_p.h
@@ -132,6 +132,11 @@ public:
}
+ inline void addVertex(const GLfloat x, const GLfloat y)
+ {
+ vertexArray.add(QGLPoint(x, y));
+ }
+
void addPath(const QVectorPath &path, GLfloat curveInverseScale, bool outline = true);
void clear();