diff options
| author | 2018-08-19 12:00:33 +1000 | |
|---|---|---|
| committer | 2018-08-19 12:00:33 +1000 | |
| commit | 706fc5d2d6d4beadfcdd3fedd64d451ef7595384 (patch) | |
| tree | a18556b0543d4a39306d7b8307040ca79ad672ee /src | |
| parent | Added WrapMode MirrorOnceClampToEdge (diff) | |
| download | yuzu-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.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 2 |
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) |