mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-03 05:05:14 -06:00
C++ things
This commit is contained in:
parent
6da3021158
commit
a4712a283f
@ -96,7 +96,6 @@ void stereo_config::update_from_config(bool stereo_enabled)
|
|||||||
|
|
||||||
if (m_stereo_mode == stereo_render_mode_options::anaglyph_custom)
|
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.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());
|
stereo_config::convert_matrix(m_custom_matrices.right, g_cfg.video.custom_anaglyph_matrices.right.get_map());
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@ namespace gl
|
|||||||
{
|
{
|
||||||
static inline void insert_texture_barrier()
|
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)
|
if (caps.ARB_texture_barrier_supported)
|
||||||
glTextureBarrier();
|
glTextureBarrier();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user