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);
|
explicit QOpenGLTexture(Target target);
|
||||||
QOpenGLTexture(const QImage& image, MipMapGeneration genMipMaps = GenerateMipMaps);
|
explicit QOpenGLTexture(const QImage& image, MipMapGeneration genMipMaps = GenerateMipMaps);
|
||||||
~QOpenGLTexture();
|
~QOpenGLTexture();
|
||||||
|
|
||||||
// Creation and destruction
|
// Creation and destruction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user