mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
2dlib: Fix unused variable compiler warning in pen.cpp
This removes some unused variables in 2dlib/pen.cpp.
This commit is contained in:
parent
836dd4d382
commit
9af8c16b6b
@ -129,18 +129,9 @@ void grViewport::hline(ddgr_color col, int x1, int x2, int y1) {
|
||||
rend_DrawLine(x1, y1, x2, y1);
|
||||
}
|
||||
|
||||
// grViewport::line
|
||||
// draws a clipped line
|
||||
|
||||
void grViewport::line(ddgr_color color, int x1, int y1, int x2, int y2) {
|
||||
int xa, ya, xb, yb;
|
||||
ASSERT(vp_Locked);
|
||||
|
||||
xa = global_x(x1);
|
||||
ya = global_y(y1);
|
||||
xb = global_x(x2);
|
||||
yb = global_y(y2);
|
||||
|
||||
rend_SetFlatColor(color);
|
||||
rend_DrawLine(x1, y1, x2, y2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user