diff options
-rw-r--r-- | src/opengl/qgl.h | 2 | ||||
-rw-r--r-- | src/opengl/qglshaderprogram.h | 4 |
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; |