summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar David Marcec2018-08-19 12:00:33 +1000
committerGravatar David Marcec2018-08-19 12:00:33 +1000
commit706fc5d2d6d4beadfcdd3fedd64d451ef7595384 (patch)
treea18556b0543d4a39306d7b8307040ca79ad672ee /src
parentAdded WrapMode MirrorOnceClampToEdge (diff)
downloadyuzu-706fc5d2d6d4beadfcdd3fedd64d451ef7595384.tar.gz
yuzu-706fc5d2d6d4beadfcdd3fedd64d451ef7595384.tar.xz
yuzu-706fc5d2d6d4beadfcdd3fedd64d451ef7595384.zip
Added check to see if ARB_texture_mirror_clamp_to_edge is supported
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp2
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 2df65023a..11d2331df 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -377,6 +377,8 @@ bool GMainWindow::SupportsRequiredGLExtensions() {
377 unsupported_ext.append("ARB_vertex_attrib_binding"); 377 unsupported_ext.append("ARB_vertex_attrib_binding");
378 if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev) 378 if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
379 unsupported_ext.append("ARB_vertex_type_10f_11f_11f_rev"); 379 unsupported_ext.append("ARB_vertex_type_10f_11f_11f_rev");
380 if (!GLAD_GL_ARB_texture_mirror_clamp_to_edge)
381 unsupported_ext.append("ARB_texture_mirror_clamp_to_edge");
380 382
381 // Extensions required to support some texture formats. 383 // Extensions required to support some texture formats.
382 if (!GLAD_GL_EXT_texture_compression_s3tc) 384 if (!GLAD_GL_EXT_texture_compression_s3tc)
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index e2945b6cf..351dd9225 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -89,6 +89,8 @@ bool EmuWindow_SDL2::SupportsRequiredGLExtensions() {
89 unsupported_ext.push_back("ARB_vertex_attrib_binding"); 89 unsupported_ext.push_back("ARB_vertex_attrib_binding");
90 if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev) 90 if (!GLAD_GL_ARB_vertex_type_10f_11f_11f_rev)
91 unsupported_ext.push_back("ARB_vertex_type_10f_11f_11f_rev"); 91 unsupported_ext.push_back("ARB_vertex_type_10f_11f_11f_rev");
92 if (!GLAD_GL_ARB_texture_mirror_clamp_to_edge)
93 unsupported_ext.push_back("ARB_texture_mirror_clamp_to_edge");
92 94
93 // Extensions required to support some texture formats. 95 // Extensions required to support some texture formats.
94 if (!GLAD_GL_EXT_texture_compression_s3tc) 96 if (!GLAD_GL_EXT_texture_compression_s3tc)