From a99882278ae167e68db5ba00e58faec587474bc8 Mon Sep 17 00:00:00 2001 From: Hirek193 Date: Thu, 29 Oct 2026 20:46:11 +0100 Subject: [PATCH] Fix the build after merging master: drop the GLES check from bptc_supported() --- model/Texture.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/model/Texture.cpp b/model/Texture.cpp index 73aa76fe..f063de7a 100644 --- a/model/Texture.cpp +++ b/model/Texture.cpp @@ -300,11 +300,10 @@ GLint bc7_components( std::istream &File, std::streamoff const Start, std::size_ } return GL_RGB; } -// BC7 is core since GL 4.2, older contexts and GLES need the extension. requires current gl context +// BC7 is core since GL 4.2, older contexts need the extension. requires current gl context bool bptc_supported() { static bool const supported = []() { - if( ( false == Global.gfx_usegles ) - && ( ( GLVersion.major > 4 ) || ( ( GLVersion.major == 4 ) && ( GLVersion.minor >= 2 ) ) ) ) { + if( ( GLVersion.major > 4 ) || ( ( GLVersion.major == 4 ) && ( GLVersion.minor >= 2 ) ) ) { return true; } GLint count { 0 };