From b6fd87883488f99176fe08a58baa141d95e33ed6 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Thu, 16 Mar 2017 03:37:18 +0300 Subject: [PATCH] gl/debug: Fix protection for debug --- rpcs3/Emu/RSX/GL/GLTextureCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/GL/GLTextureCache.h b/rpcs3/Emu/RSX/GL/GLTextureCache.h index dfdc1013ff..8456913fa5 100644 --- a/rpcs3/Emu/RSX/GL/GLTextureCache.h +++ b/rpcs3/Emu/RSX/GL/GLTextureCache.h @@ -1110,7 +1110,7 @@ namespace gl std::lock_guard lock(m_section_mutex); cached_texture_section &cached = create_texture(texture_id, dst.rsx_address, dst.pitch * dst.clip_height, dst.width, dst.clip_height, 1); - cached.protect(utils::protection::no); + cached.protect(utils::protection::ro); cached.set_dirty(false); return true;