disable the alpha channel

This commit is contained in:
Uwe Rathmann 2023-12-13 07:27:40 +01:00
parent 048e76d021
commit 245491724d
1 changed files with 2 additions and 2 deletions

View File

@ -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 {}