mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-30 13:19:06 +00:00
gl: Fix depth buffer byteswap hint
- uint24_8 is not actually swapped, it is decoded in a special way
This commit is contained in:
parent
f4ec28d932
commit
e1183f6919
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ void GLGSRender::init_buffers(rsx::framebuffer_creation_context context, bool sk
|
||||||
m_gl_texture_cache.lock_memory_region(
|
m_gl_texture_cache.lock_memory_region(
|
||||||
cmd, m_rtts.m_bound_depth_stencil.second, surface_range, true,
|
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,
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue