diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-09-06 23:44:08 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-07 13:59:27 +0200 |
commit | 1578f745bf94f9522f0805019becf10c146a67de (patch) | |
tree | 506aa016864d65dde1c60939ba57fe040120af97 /src/quick/scenegraph/coreapi | |
parent | 5b47966f5c7910e29f456d9a809f120a99c10ee4 (diff) |
doc: fix some typos in .cpp files
Change-Id: Ica7685aefde84ec80d8af7a67541af454de4adce
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/coreapi')
-rw-r--r-- | src/quick/scenegraph/coreapi/qsggeometry.cpp | 2 | ||||
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgmaterial.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/quick/scenegraph/coreapi/qsggeometry.cpp b/src/quick/scenegraph/coreapi/qsggeometry.cpp index 8855e5c8c2..50fd336365 100644 --- a/src/quick/scenegraph/coreapi/qsggeometry.cpp +++ b/src/quick/scenegraph/coreapi/qsggeometry.cpp @@ -224,7 +224,7 @@ const QSGGeometry::AttributeSet &QSGGeometry::defaultAttributes_ColoredPoint2D() to be used for textured 2D geometry. The vertex data is internally stored as a \c {void *} and is accessible with the vertexData() function. Convenience accessors for the common attribute sets are - availble with vertexDataAsPoint2D() and + available with vertexDataAsPoint2D() and vertexDataAsTexturedPoint2D(). Vertex data is allocated by passing a vertex count to the constructor or by calling allocate() later. diff --git a/src/quick/scenegraph/coreapi/qsgmaterial.cpp b/src/quick/scenegraph/coreapi/qsgmaterial.cpp index 50d445c28f..8d37992928 100644 --- a/src/quick/scenegraph/coreapi/qsgmaterial.cpp +++ b/src/quick/scenegraph/coreapi/qsgmaterial.cpp @@ -277,7 +277,7 @@ void QSGMaterialShader::updateState(const RenderState & /* state */, QSGMaterial /*! This function is called when the shader is initialized to compile the - actual QOpenGLShaderProgram. Do not call it explicitely. + actual QOpenGLShaderProgram. Do not call it explicitly. The default implementation will extract the vertexShader() and fragmentShader() and bind the names returned from attributeNames() @@ -625,7 +625,7 @@ int QSGMaterial::compare(const QSGMaterial *other) const \fn QSGMaterialShader *QSGMaterial::createShader() const This function returns a new instance of a the QSGMaterialShader - implementatation used to render geometry for a specifc implementation + implementatation used to render geometry for a specific implementation of QSGMaterial. The function will be called only once for each material type that |