diff options
Diffstat (limited to 'graphics/surface.cpp')
-rw-r--r-- | graphics/surface.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/surface.cpp b/graphics/surface.cpp index bc815c360f..a9f3e75886 100644 --- a/graphics/surface.cpp +++ b/graphics/surface.cpp @@ -60,10 +60,10 @@ void Surface::create(uint16 width, uint16 height, uint8 bytesPP) { } void Surface::free() { - ::free(pixels); - pixels = 0; - w = h = pitch = 0; - bytesPerPixel = 0; + ::free(pixels); + pixels = 0; + w = h = pitch = 0; + bytesPerPixel = 0; } void Surface::hLine(int x, int y, int x2, uint32 color) { |