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;
|
||||
|
||||
private:
|
||||
// nops to satisfy the QSGTexture API
|
||||
bool hasAlphaChannel() const override { return true; }
|
||||
// satisfy the QSGTexture API
|
||||
bool hasAlphaChannel() const override { return false; }
|
||||
bool hasMipmaps() const override { return false; }
|
||||
void commitTextureOperations( QRhi*, QRhiResourceUpdateBatch* ) override {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue