Update renderd7.cpp
This commit is contained in:
parent
12d5b48632
commit
d59cf0f9e0
10
renderd7.cpp
10
renderd7.cpp
@ -844,12 +844,12 @@ void RenderD7::DrawMetrikOvl()
|
||||
}
|
||||
}
|
||||
|
||||
bool RenderD7::DrawNFRect(float p1x, float p1y, float p2x, float p2y, u32 color)
|
||||
bool RenderD7::DrawNFRect(float p1x, float p1y, float w, float h, u32 color, float scale)
|
||||
{
|
||||
C2D_DrawLine(p1x, p1y, color,p2x, p1y, color, 1, 1);
|
||||
C2D_DrawLine(p2x, p1y, color,p2x, p2y, color, 1, 1);
|
||||
C2D_DrawLine(p2x, p2y, color,p1x, p2y, color, 1, 1);
|
||||
C2D_DrawLine(p1x, p2y, color,p1x, p1y, color, 1, 1);
|
||||
C2D_DrawLine(p1x, p1y, color,w, p1y, color, 1, 1);
|
||||
C2D_DrawLine(w, p1y, color,w, h, color, 1, 1);
|
||||
C2D_DrawLine(w, h, color,p1x, h, color, 1, 1);
|
||||
C2D_DrawLine(p1x, h, color,p1x, p1y, color, 1, 1);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user