summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-15 18:09:19 +0100
committerGitHub <noreply@github.com>2019-11-15 18:09:19 +0100
commita8295d2c533d1628887bd45d3bfd8adb66281834 (patch)
treeddfd5d15ff0a055cdd4b4aa5df85c0b2bfc56713 /src/yuzu_cmd
parentMerge pull request #3091 from lioncash/core-conversion (diff)
parentgl_rasterizer: Remove front facing hack (diff)
downloadyuzu-a8295d2c533d1628887bd45d3bfd8adb66281834.tar
yuzu-a8295d2c533d1628887bd45d3bfd8adb66281834.tar.gz
yuzu-a8295d2c533d1628887bd45d3bfd8adb66281834.tar.bz2
yuzu-a8295d2c533d1628887bd45d3bfd8adb66281834.tar.lz
yuzu-a8295d2c533d1628887bd45d3bfd8adb66281834.tar.xz
yuzu-a8295d2c533d1628887bd45d3bfd8adb66281834.tar.zst
yuzu-a8295d2c533d1628887bd45d3bfd8adb66281834.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
index f91b071bf..6fde694a2 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp
@@ -50,7 +50,7 @@ private:
};
bool EmuWindow_SDL2_GL::SupportsRequiredGLExtensions() {
- std::vector<std::string> unsupported_ext;
+ std::vector<std::string_view> unsupported_ext;
if (!GLAD_GL_ARB_buffer_storage)
unsupported_ext.push_back("ARB_buffer_storage");
@@ -62,6 +62,8 @@ bool EmuWindow_SDL2_GL::SupportsRequiredGLExtensions() {
unsupported_ext.push_back("ARB_texture_mirror_clamp_to_edge");
if (!GLAD_GL_ARB_multi_bind)
unsupported_ext.push_back("ARB_multi_bind");
+ if (!GLAD_GL_ARB_clip_control)
+ unsupported_ext.push_back("ARB_clip_control");
// Extensions required to support some texture formats.
if (!GLAD_GL_EXT_texture_compression_s3tc)
@@ -71,8 +73,8 @@ bool EmuWindow_SDL2_GL::SupportsRequiredGLExtensions() {
if (!GLAD_GL_ARB_depth_buffer_float)
unsupported_ext.push_back("ARB_depth_buffer_float");
- for (const std::string& ext : unsupported_ext)
- LOG_CRITICAL(Frontend, "Unsupported GL extension: {}", ext);
+ for (const auto& extension : unsupported_ext)
+ LOG_CRITICAL(Frontend, "Unsupported GL extension: {}", extension);
return unsupported_ext.empty();
}