Skip to content

Commit a842c5b

Browse files
authored
Remove redundant comment
Remove redundant comment left from the previous implementation with surface flags.
1 parent 5abe774 commit a842c5b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/IMG_webp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,6 @@ bool IMG_SaveWEBP_IO(SDL_Surface *surface, SDL_IOStream *dst, bool closeio, floa
579579
converted_surface = surface;
580580
}
581581

582-
// Not adding surfaceFlags check here because if it already contains the locked state, MUSTLOCK will prevent entering into the scope automatically.
583582
if (SDL_MUSTLOCK(converted_surface)) {
584583
if (!SDL_LockSurface(converted_surface)) {
585584
error = SDL_GetError();

0 commit comments

Comments
 (0)