Skip to content

Commit 96adfd7

Browse files
committed
Gfx/Surface: Return old surface in updateSurface
1 parent c2269a8 commit 96adfd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gfx/surface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,6 @@ Surface* Surface::updateSurface(Surface* surface, int width, int height, double
721721
}
722722
return surface;
723723
}
724-
return NULL;
724+
return surface;
725725
}
726726

0 commit comments

Comments
 (0)