# HG changeset patch # User Sam Lantinga # Date 1230121045 0 # Node ID ffae53de58f478bd8dbeae3f53b5bb567ca36835 # Parent 1d50666ed3d5616e15e3ec33e1431e3f4d14eeea Don't unlock a surface we didn't lock diff -r 1d50666ed3d5 -r ffae53de58f4 src/video/SDL_fillrect.c --- a/src/video/SDL_fillrect.c Tue Dec 23 04:51:36 2008 +0000 +++ b/src/video/SDL_fillrect.c Wed Dec 24 12:17:25 2008 +0000 @@ -356,8 +356,6 @@ } } - SDL_UnlockSurface(dst); - /* We're done! */ return (0); }