QOpenGLTexture: mark (Target) ctor explicit
Disables implicit conversions from Target to QOpenGLTexture. Change-Id: I2edd2dc4528a311577f0b7df4f6ce22696336a88 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>bb10
parent
4abf5fd3ea
commit
a256c8459a
|
|
@ -96,7 +96,7 @@ public:
|
|||
DontResetTextureUnit
|
||||
};
|
||||
|
||||
QOpenGLTexture(Target target);
|
||||
explicit QOpenGLTexture(Target target);
|
||||
QOpenGLTexture(const QImage& image, MipMapGeneration genMipMaps = GenerateMipMaps);
|
||||
~QOpenGLTexture();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue