mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 12:39:57 +00:00
Removed unused value in draw_color().
This commit is contained in:
parent
e12c99f61d
commit
475857ebcf
@ -430,7 +430,6 @@ void draw_color(BITMAP* bmp, const Rect& rc, int imgtype, color_t color)
|
||||
BITMAP* graph;
|
||||
|
||||
if (type == COLOR_TYPE_INDEX) {
|
||||
data = color_get_index(color);
|
||||
rectfill(bmp, rc.x, rc.y, rc.x+rc.w-1, rc.y+rc.h-1,
|
||||
get_color_for_allegro(bitmap_color_depth(bmp), color));
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user