gl: Fix depth buffer byteswap hint

- uint24_8 is not actually swapped, it is decoded in a special way
This commit is contained in:
kd-11 2020-06-12 19:49:14 +03:00 committed by kd-11
parent f4ec28d932
commit e1183f6919
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ void GLGSRender::init_buffers(rsx::framebuffer_creation_context context, bool sk
m_gl_texture_cache.lock_memory_region(
cmd, m_rtts.m_bound_depth_stencil.second, surface_range, true,
m_depth_surface_info.width, m_depth_surface_info.height, m_depth_surface_info.pitch,
depth_format_gl.format, depth_format_gl.type, true);
depth_format_gl.format, depth_format_gl.type, depth_format_gl.type != gl::texture::type::uint_24_8);
}
else
{