mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
d3d12: Ignore texture with 0 width/height
Fix crash in voodoo chronicles.
This commit is contained in:
parent
ad3e50f90f
commit
3f495689c0
1 changed files with 1 additions and 0 deletions
|
@ -603,6 +603,7 @@ size_t D3D12GSRender::UploadTextures()
|
|||
{
|
||||
if (!m_textures[i].IsEnabled()) continue;
|
||||
size_t w = m_textures[i].GetWidth(), h = m_textures[i].GetHeight();
|
||||
if (!w || !h) continue;
|
||||
|
||||
const u32 texaddr = GetAddress(m_textures[i].GetOffset(), m_textures[i].GetLocation());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue