gl/debug: Fix protection for debug

This commit is contained in:
kd-11 2017-03-16 03:37:18 +03:00
parent 508cf11b88
commit b6fd878834

View file

@ -1110,7 +1110,7 @@ namespace gl
std::lock_guard<std::mutex> 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;