GS/OpenGL: Fix incorrect detection of DXT/BPTC texture support

This commit is contained in:
Connor McLaughlin 2022-06-22 22:35:23 +10:00 committed by refractionpcsx2
parent 572c3be647
commit 3c5a39a99a
1 changed files with 2 additions and 2 deletions

View File

@ -220,8 +220,8 @@ bool GSDeviceOGL::Create(HostDisplay* display)
m_features.image_load_store = GLLoader::found_GL_ARB_shader_image_load_store && GLLoader::found_GL_ARB_clear_texture;
m_features.texture_barrier = GSConfig.OverrideTextureBarriers != 0 || GLLoader::found_framebuffer_fetch;
m_features.provoking_vertex_last = true;
m_features.dxt_textures = GL_EXT_texture_compression_s3tc;
m_features.bptc_textures = GL_VERSION_4_2 || GL_ARB_texture_compression_bptc || GL_EXT_texture_compression_bptc;
m_features.dxt_textures = GLAD_GL_EXT_texture_compression_s3tc;
m_features.bptc_textures = GLAD_GL_VERSION_4_2 || GLAD_GL_ARB_texture_compression_bptc || GLAD_GL_EXT_texture_compression_bptc;
m_features.prefer_new_textures = false;
m_features.framebuffer_fetch = GLLoader::found_framebuffer_fetch;
m_features.dual_source_blend = GLLoader::has_dual_source_blend && !GSConfig.DisableDualSourceBlend;