C++ things

This commit is contained in:
kd-11 2026-05-12 02:37:32 +03:00
parent d5018ee3ea
commit 5c824dffbb
2 changed files with 1 additions and 2 deletions

View File

@ -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());
}

View File

@ -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();