diff options
-rw-r--r-- | src/gui/opengl/qopengltexture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengltexture.h b/src/gui/opengl/qopengltexture.h index e06cf26f60..b761d63775 100644 --- a/src/gui/opengl/qopengltexture.h +++ b/src/gui/opengl/qopengltexture.h @@ -96,7 +96,7 @@ public: DontResetTextureUnit }; - QOpenGLTexture(Target target); + explicit QOpenGLTexture(Target target); QOpenGLTexture(const QImage& image, MipMapGeneration genMipMaps = GenerateMipMaps); ~QOpenGLTexture(); |