mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
gl: Hotfix
- Reset mapping offsets after window is changed!
This commit is contained in:
parent
963b431805
commit
79ec982838
1 changed files with 2 additions and 0 deletions
|
|
@ -241,6 +241,7 @@ gl::vertex_upload_info GLGSRender::set_vertex_buffer()
|
|||
|
||||
m_persistent_stream_view.update(m_attrib_ring_buffer.get(), upload_info.persistent_mapping_offset, (u32)view_size);
|
||||
m_gl_persistent_stream_buffer.copy_from(m_persistent_stream_view);
|
||||
upload_info.persistent_mapping_offset = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -256,6 +257,7 @@ gl::vertex_upload_info GLGSRender::set_vertex_buffer()
|
|||
|
||||
m_volatile_stream_view.update(m_attrib_ring_buffer.get(), upload_info.volatile_mapping_offset, (u32)view_size);
|
||||
m_gl_volatile_stream_buffer.copy_from(m_volatile_stream_view);
|
||||
upload_info.volatile_mapping_offset = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue