diff --git a/rpcs3/Emu/RSX/GL/GLGSRender.cpp b/rpcs3/Emu/RSX/GL/GLGSRender.cpp index d6c50ddeca..419d3c73bb 100644 --- a/rpcs3/Emu/RSX/GL/GLGSRender.cpp +++ b/rpcs3/Emu/RSX/GL/GLGSRender.cpp @@ -330,19 +330,19 @@ void GLGSRender::on_init_thread() sampler.bind(image_unit++); } - for (auto &sampler : m_fs_sampler_mirror_states) - { - sampler.create(); - sampler.apply_defaults(); - sampler.bind(image_unit++); - } - for (auto &sampler : m_vs_sampler_states) { sampler.create(); sampler.bind(image_unit++); } + for (auto& sampler : m_fs_sampler_mirror_states) + { + sampler.create(); + sampler.apply_defaults(); + sampler.bind(image_unit++); + } + //Occlusion query for (u32 i = 0; i < rsx::reports::occlusion_query_count; ++i) {