diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-10-30 04:32:05 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-07 05:52:18 +0100 |
commit | 028b1a34a99a03babb464834f15d069fe2074d55 (patch) | |
tree | eba28e913bfae87dafe4b325bc60ee489ca1b043 /src/yuzu_cmd | |
parent | gl_rasterizer: Emulate viewport flipping with ARB_clip_control (diff) | |
download | yuzu-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.cpp | 6 |
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(); } |