summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-08-27 23:22:36 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-08-27 23:22:36 (GMT)
commitd4973f096ebbaada144ea1d6d0c44c5274d5279c (patch)
treeaee58998d61fe69585809bc51af34903d9c7441f
parentc723aeefe56ddcc2d661474f54a63dcdd5c0d6b2 (diff)
downloadQt-d4973f096ebbaada144ea1d6d0c44c5274d5279c.zip
Qt-d4973f096ebbaada144ea1d6d0c44c5274d5279c.tar.gz
Qt-d4973f096ebbaada144ea1d6d0c44c5274d5279c.tar.bz2
Remove extraneous semi-colons
Reviewed-by: trustme
-rw-r--r--src/opengl/qgl.h2
-rw-r--r--src/opengl/qglshaderprogram.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index a928d64..13ad668 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -300,7 +300,7 @@ public:
DefaultBindOption = LinearFilteringBindOption | InvertedYBindOption | MipmapBindOption,
InternalBindOption = MemoryManagedBindOption | PremultipliedAlphaBindOption
};
- Q_DECLARE_FLAGS(BindOptions, BindOption);
+ Q_DECLARE_FLAGS(BindOptions, BindOption)
GLuint bindTexture(const QImage &image, GLenum target, GLint format,
BindOptions options);
diff --git a/src/opengl/qglshaderprogram.h b/src/opengl/qglshaderprogram.h
index 4f95ef3..d747679 100644
--- a/src/opengl/qglshaderprogram.h
+++ b/src/opengl/qglshaderprogram.h
@@ -73,7 +73,7 @@ public:
PartialVertexShader = PartialShader | VertexShader,
PartialFragmentShader = PartialShader | FragmentShader
};
- Q_DECLARE_FLAGS(ShaderType, ShaderTypeBits);
+ Q_DECLARE_FLAGS(ShaderType, ShaderTypeBits)
explicit QGLShader(QGLShader::ShaderType type, QObject *parent = 0);
QGLShader(const QString& fileName, QGLShader::ShaderType type, QObject *parent = 0);
@@ -108,7 +108,7 @@ private:
Q_DISABLE_COPY(QGLShader)
};
-Q_DECLARE_OPERATORS_FOR_FLAGS(QGLShader::ShaderType);
+Q_DECLARE_OPERATORS_FOR_FLAGS(QGLShader::ShaderType)
class QGLShaderProgramPrivate;