fix building with PSXGPU_DEBUG_VIEWER (nw)

This commit is contained in:
smf- 2018-09-08 14:19:44 +01:00
parent 98eed509fa
commit 6718b8e43e

View File

@ -327,7 +327,7 @@ int psxgpu_device::DebugMeshDisplay( bitmap_rgb32 &bitmap, const rectangle &clip
if( m_debug.b_mesh )
{
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;
return m_debug.b_mesh;