summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-10-30 04:32:05 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-11-07 05:52:18 +0100
commit028b1a34a99a03babb464834f15d069fe2074d55 (patch)
treeeba28e913bfae87dafe4b325bc60ee489ca1b043 /src/yuzu_cmd
parentgl_rasterizer: Emulate viewport flipping with ARB_clip_control (diff)
downloadyuzu-028b1a34a99a03babb464834f15d069fe2074d55.tar
yuzu-028b1a34a99a03babb464834f15d069fe2074d55.tar.gz
yuzu-028b1a34a99a03babb464834f15d069fe2074d55.tar.bz2
yuzu-028b1a34a99a03babb464834f15d069fe2074d55.tar.lz
yuzu-028b1a34a99a03babb464834f15d069fe2074d55.tar.xz
yuzu-028b1a34a99a03babb464834f15d069fe2074d55.tar.zst
yuzu-028b1a34a99a03babb464834f15d069fe2074d55.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp6
1 files changed, 3 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 075a7074f..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");
@@ -73,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();
}