Don't unlock a surface we didn't lock
authorSam Lantinga <slouken@libsdl.org>
Wed, 24 Dec 2008 12:17:25 +0000
changeset 2913 ffae53de58f4
parent 2912 1d50666ed3d5
child 2914 fa109e90be36
Don't unlock a surface we didn't lock
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);
 }