QOpenGLTexture: mark (QImage) ctor explicit
Disables implicit conversions from QImage to QOpenGLTexture. Change-Id: I09b4d236dde8eae5258e6a954f4e02b4451990bd Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
a256c8459a
commit
c887fbd795
@ -97,7 +97,7 @@ public:
|
||||
};
|
||||
|
||||
explicit QOpenGLTexture(Target target);
|
||||
QOpenGLTexture(const QImage& image, MipMapGeneration genMipMaps = GenerateMipMaps);
|
||||
explicit QOpenGLTexture(const QImage& image, MipMapGeneration genMipMaps = GenerateMipMaps);
|
||||
~QOpenGLTexture();
|
||||
|
||||
// Creation and destruction
|
||||
|
Loading…
Reference in New Issue
Block a user