Don't unlock a surface we didn't lock

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403375
This commit is contained in:
Sam Lantinga 2008-12-24 12:17:25 +00:00
parent 03955f8e47
commit f17910095b

View file

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