return before notsupport in GAL_UpdateRects

This commit is contained in:
Vincent Wei
2020-01-21 17:39:24 +08:00
parent 96a702642d
commit d5d7fff646
+1
View File
@@ -844,6 +844,7 @@ void GAL_UpdateRects (GAL_Surface *surface, int numrects, GAL_Rect *rects)
}
add_rects_to_update_region (&surface->update_region, numrects, rects);
return;
notsupport:
_WRN_PRINTF ("Not support GAL_UpdateRects for surface: %p\n", surface);