changeset 2913:ffae53de58f4

Don't unlock a surface we didn't lock
author Sam Lantinga <slouken@libsdl.org>
date Wed, 24 Dec 2008 12:17:25 +0000
parents 1d50666ed3d5
children fa109e90be36
files src/video/SDL_fillrect.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }