diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-01-03 17:20:17 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-01-06 14:56:32 +0100 |
commit | 0d98a1faf7fa0b943c7513b8ef56c4e9db007b4b (patch) | |
tree | f71008f2c70209a68e3c978f41976089d70a0f1b /src/gui/opengl/qopenglextensions_p.h | |
parent | 0a59101495634a02e7b893682904f4cfc5898624 (diff) |
rhi: gl: Do not just rely on GL_COMPRESSED_TEXTURE_FORMATS
Pick-to: 6.3 6.2
Task-number: QTBUG-98937
Change-Id: I64f2783ae64ad3ef77a389999ded4c9ba2c46ee5
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglextensions_p.h')
-rw-r--r-- | src/gui/opengl/qopenglextensions_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/opengl/qopenglextensions_p.h b/src/gui/opengl/qopenglextensions_p.h index 0d58b5f301..972a92aac6 100644 --- a/src/gui/opengl/qopenglextensions_p.h +++ b/src/gui/opengl/qopenglextensions_p.h @@ -93,6 +93,8 @@ public: Sized16Formats = 0x00800000, TextureSwizzle = 0x01000000, StandardDerivatives = 0x02000000, + ASTCTextureCompression = 0x04000000, + ETC2TextureCompression = 0x08000000 }; Q_DECLARE_FLAGS(OpenGLExtensions, OpenGLExtension) |