From 6e4b5839ce0e12e1dd4d7e12ebd4c64951542bf5 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Sun, 4 Feb 2024 14:41:11 +0100 Subject: [PATCH] Revert "opengl/openglcontext: require support for RGBA16F framebuffers" This reverts commit a89d1f80586d8797a95f66130447f7c49b080ac6. Apparently lima does not support the extension :| --- src/opengl/openglcontext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/opengl/openglcontext.cpp b/src/opengl/openglcontext.cpp index 70264a9676..41f2fdb9c8 100644 --- a/src/opengl/openglcontext.cpp +++ b/src/opengl/openglcontext.cpp @@ -112,7 +112,6 @@ bool OpenGlContext::checkSupported() const const bool supportsGLSL = m_isOpenglES || (hasOpenglExtension("GL_ARB_shader_objects") && hasOpenglExtension("GL_ARB_fragment_shader") && hasOpenglExtension("GL_ARB_vertex_shader")); const bool supportsNonPowerOfTwoTextures = m_isOpenglES || hasOpenglExtension("GL_ARB_texture_non_power_of_two"); const bool supports3DTextures = !m_isOpenglES || hasVersion(Version(3, 0)) || hasOpenglExtension("GL_OES_texture_3D"); - const bool supports16FTextures = !m_isOpenglES || hasOpenglExtension("GL_EXT_color_buffer_half_float"); - return supportsGLSL && supportsNonPowerOfTwoTextures && supports3DTextures && supports16FTextures; + return supportsGLSL && supportsNonPowerOfTwoTextures && supports3DTextures; } }