diff options
Diffstat (limited to 'graphics/surface.cpp')
-rw-r--r-- | graphics/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/surface.cpp b/graphics/surface.cpp index cee8e61438..0fad25734c 100644 --- a/graphics/surface.cpp +++ b/graphics/surface.cpp @@ -127,7 +127,7 @@ void Surface::vLine(int x, int y, int y2, uint32 color) { *ptr = (uint16)color; ptr += pitch / 2; } - + } else if (format.bytesPerPixel == 4) { uint32 *ptr = (uint32 *)getBasePtr(x, y); while (y++ <= y2) { |