Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Don't unlock a surface we didn't lock
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 24, 2008
1 parent 4c57aa0 commit 0fbb4c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/video/SDL_fillrect.c
Expand Up @@ -356,8 +356,6 @@ SDL_FillRect(SDL_Surface * dst, SDL_Rect * dstrect, Uint32 color)
}
}

SDL_UnlockSurface(dst);

/* We're done! */
return (0);
}
Expand Down

0 comments on commit 0fbb4c4

Please sign in to comment.