mirror of
https://github.com/holub/mame
synced 2025-10-07 09:25:34 +03:00
fix building with PSXGPU_DEBUG_VIEWER (nw)
This commit is contained in:
parent
98eed509fa
commit
6718b8e43e
@ -327,7 +327,7 @@ int psxgpu_device::DebugMeshDisplay( bitmap_rgb32 &bitmap, const rectangle &clip
|
|||||||
if( m_debug.b_mesh )
|
if( m_debug.b_mesh )
|
||||||
{
|
{
|
||||||
for (int y = cliprect.min_y; y <= cliprect.max_y; y++)
|
for (int y = cliprect.min_y; y <= cliprect.max_y; y++)
|
||||||
draw_scanline16( bitmap, cliprect.min_x, y, cliprect.max_x+1-cliprect.min_x, &m_debug.mesh.pix16(y), pens() );
|
draw_scanline16( bitmap, cliprect.min_x, y, cliprect.max_x+1-cliprect.min_x, &m_debug.mesh->pix16(y), pens() );
|
||||||
}
|
}
|
||||||
m_debug.b_clear = 1;
|
m_debug.b_clear = 1;
|
||||||
return m_debug.b_mesh;
|
return m_debug.b_mesh;
|
||||||
|
Loading…
Reference in New Issue
Block a user