Don't unlock a surface we didn't lock

This commit is contained in:
Sam Lantinga
2008-12-24 12:17:25 +00:00
parent 6bd5c458f4
commit e53beea887

View File

@@ -356,8 +356,6 @@ SDL_FillRect(SDL_Surface * dst, SDL_Rect * dstrect, Uint32 color)
}
}
SDL_UnlockSurface(dst);
/* We're done! */
return (0);
}