Remove unused gr_uline return value
This commit is contained in:
parent
ca123b6cde
commit
916cf69e37
|
@ -263,7 +263,7 @@ static void gr_universal_uline(int a1, int b1, int a2, int b2)
|
|||
|
||||
|
||||
//unclipped version just calls clipping version for now
|
||||
int gr_uline(fix _a1, fix _b1, fix _a2, fix _b2)
|
||||
void gr_uline(fix _a1, fix _b1, fix _a2, fix _b2)
|
||||
{
|
||||
int a1,b1,a2,b2;
|
||||
a1 = f2i(_a1); b1 = f2i(_b1); a2 = f2i(_a2); b2 = f2i(_b2);
|
||||
|
@ -272,13 +272,13 @@ int gr_uline(fix _a1, fix _b1, fix _a2, fix _b2)
|
|||
#ifdef OGL
|
||||
case BM_OGL:
|
||||
ogl_ulinec(a1,b1,a2,b2,COLOR);
|
||||
return 0;
|
||||
return;
|
||||
#endif
|
||||
case BM_LINEAR:
|
||||
gr_universal_uline( a1,b1,a2,b2);
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
return 2;
|
||||
return;
|
||||
}
|
||||
|
||||
// Returns 0 if drawn with no clipping, 1 if drawn but clipped, and
|
||||
|
|
|
@ -324,7 +324,7 @@ unsigned char gr_ugpixel(const grs_bitmap &bitmap, int x, int y );
|
|||
|
||||
// Draws a line into the current canvas in the current color and drawmode.
|
||||
void gr_line(fix x0,fix y0,fix x1,fix y1);
|
||||
int gr_uline(fix x0,fix y0,fix x1,fix y1);
|
||||
void gr_uline(fix x0,fix y0,fix x1,fix y1);
|
||||
|
||||
// Draw the bitmap into the current canvas at the specified location.
|
||||
void gr_bitmap(unsigned x,unsigned y,grs_bitmap &bm);
|
||||
|
|
Loading…
Reference in a new issue