mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00:00
Merge pull request #2522 from kd-11/experiments
gl: Lower restriction on render target pitch
This commit is contained in:
commit
ed711c0e59
1 changed files with 1 additions and 5 deletions
|
@ -191,9 +191,7 @@ void GLGSRender::init_buffers(bool skip_reading)
|
|||
|
||||
//Verify pitch given is correct if pitch <= 64 (especially 64)
|
||||
if (pitchs[i] <= 64)
|
||||
{
|
||||
verify(HERE), pitchs[i] == 64;
|
||||
|
||||
{
|
||||
const u16 native_pitch = std::get<1>(m_rtts.m_bound_render_targets[i])->get_native_pitch();
|
||||
if (native_pitch > pitchs[i])
|
||||
{
|
||||
|
@ -221,8 +219,6 @@ void GLGSRender::init_buffers(bool skip_reading)
|
|||
//Verify pitch given is correct if pitch <= 64 (especially 64)
|
||||
if (depth_surface_pitch <= 64)
|
||||
{
|
||||
verify(HERE), depth_surface_pitch == 64;
|
||||
|
||||
const u16 native_pitch = std::get<1>(m_rtts.m_bound_depth_stencil)->get_native_pitch();
|
||||
if (native_pitch > depth_surface_pitch)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue