mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Added check to see if ARB_texture_mirror_clamp_to_edge is supported
This commit is contained in:
parent
71cc482bbd
commit
706fc5d2d6
2 changed files with 4 additions and 0 deletions
|
@ -377,6 +377,8 @@ bool GMainWindow::SupportsRequiredGLExtensions() {
|
||||||
unsupported_ext.append("ARB_vertex_attrib_binding");
|
unsupported_ext.append("ARB_vertex_attrib_binding");
|
||||||
if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
|
if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
|
||||||
unsupported_ext.append("ARB_vertex_type_10f_11f_11f_rev");
|
unsupported_ext.append("ARB_vertex_type_10f_11f_11f_rev");
|
||||||
|
if (!GLAD_GL_ARB_texture_mirror_clamp_to_edge)
|
||||||
|
unsupported_ext.append("ARB_texture_mirror_clamp_to_edge");
|
||||||
|
|
||||||
// Extensions required to support some texture formats.
|
// Extensions required to support some texture formats.
|
||||||
if (!GLAD_GL_EXT_texture_compression_s3tc)
|
if (!GLAD_GL_EXT_texture_compression_s3tc)
|
||||||
|
|
|
@ -89,6 +89,8 @@ bool EmuWindow_SDL2::SupportsRequiredGLExtensions() {
|
||||||
unsupported_ext.push_back("ARB_vertex_attrib_binding");
|
unsupported_ext.push_back("ARB_vertex_attrib_binding");
|
||||||
if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
|
if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
|
||||||
unsupported_ext.push_back("ARB_vertex_type_10f_11f_11f_rev");
|
unsupported_ext.push_back("ARB_vertex_type_10f_11f_11f_rev");
|
||||||
|
if (!GLAD_GL_ARB_texture_mirror_clamp_to_edge)
|
||||||
|
unsupported_ext.push_back("ARB_texture_mirror_clamp_to_edge");
|
||||||
|
|
||||||
// Extensions required to support some texture formats.
|
// Extensions required to support some texture formats.
|
||||||
if (!GLAD_GL_EXT_texture_compression_s3tc)
|
if (!GLAD_GL_EXT_texture_compression_s3tc)
|
||||||
|
|
Loading…
Reference in a new issue