From 0fbb4c4f4675ec8b150a0a2cefcfaf92b644e5d3 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 24 Dec 2008 12:17:25 +0000 Subject: [PATCH] Don't unlock a surface we didn't lock --- src/video/SDL_fillrect.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/video/SDL_fillrect.c b/src/video/SDL_fillrect.c index 515ec7ca3..3ced3e7fe 100644 --- a/src/video/SDL_fillrect.c +++ b/src/video/SDL_fillrect.c @@ -356,8 +356,6 @@ SDL_FillRect(SDL_Surface * dst, SDL_Rect * dstrect, Uint32 color) } } - SDL_UnlockSurface(dst); - /* We're done! */ return (0); }