From 0d98a1faf7fa0b943c7513b8ef56c4e9db007b4b Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 3 Jan 2022 17:20:17 +0100 Subject: 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 --- src/gui/opengl/qopenglextensions_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/opengl/qopenglextensions_p.h') 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) -- cgit v1.2.3