Don't unlock a surface we didn't lock
authorSam Lantinga <slouken@libsdl.org>
Wed, 24 Dec 2008 12:17:25 +0000
changeset 2913ffae53de58f4
parent 2912 1d50666ed3d5
child 2914 fa109e90be36
Don't unlock a surface we didn't lock
src/video/SDL_fillrect.c
     1.1 --- a/src/video/SDL_fillrect.c	Tue Dec 23 04:51:36 2008 +0000
     1.2 +++ b/src/video/SDL_fillrect.c	Wed Dec 24 12:17:25 2008 +0000
     1.3 @@ -356,8 +356,6 @@
     1.4          }
     1.5      }
     1.6  
     1.7 -    SDL_UnlockSurface(dst);
     1.8 -
     1.9      /* We're done! */
    1.10      return (0);
    1.11  }