disable the alpha channel
This commit is contained in:
parent
048e76d021
commit
245491724d
|
@ -32,8 +32,8 @@ class SceneTexture : public QSGTexture
|
||||||
QRectF normalizedTextureSubRect() const override;
|
QRectF normalizedTextureSubRect() const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// nops to satisfy the QSGTexture API
|
// satisfy the QSGTexture API
|
||||||
bool hasAlphaChannel() const override { return true; }
|
bool hasAlphaChannel() const override { return false; }
|
||||||
bool hasMipmaps() const override { return false; }
|
bool hasMipmaps() const override { return false; }
|
||||||
void commitTextureOperations( QRhi*, QRhiResourceUpdateBatch* ) override {}
|
void commitTextureOperations( QRhi*, QRhiResourceUpdateBatch* ) override {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue