diff --git a/Utilities/stereo_config.cpp b/Utilities/stereo_config.cpp index 01b1fdfab9..186b8ef5e3 100644 --- a/Utilities/stereo_config.cpp +++ b/Utilities/stereo_config.cpp @@ -96,7 +96,6 @@ void stereo_config::update_from_config(bool stereo_enabled) if (m_stereo_mode == stereo_render_mode_options::anaglyph_custom) { - stereo_config::stereo_matrices custom_matrices {}; stereo_config::convert_matrix(m_custom_matrices.left, g_cfg.video.custom_anaglyph_matrices.left.get_map()); stereo_config::convert_matrix(m_custom_matrices.right, g_cfg.video.custom_anaglyph_matrices.right.get_map()); } diff --git a/rpcs3/Emu/RSX/GL/glutils/barriers.h b/rpcs3/Emu/RSX/GL/glutils/barriers.h index 920e4c7088..5e703ae313 100644 --- a/rpcs3/Emu/RSX/GL/glutils/barriers.h +++ b/rpcs3/Emu/RSX/GL/glutils/barriers.h @@ -6,7 +6,7 @@ namespace gl { static inline void insert_texture_barrier() { - auto& caps = gl::get_driver_caps(); + const auto& caps = gl::get_driver_caps(); if (caps.ARB_texture_barrier_supported) glTextureBarrier();