Commit f1791009 authored by Sam Lantinga's avatar Sam Lantinga

Don't unlock a surface we didn't lock

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403375
parent 03955f8e
......@@ -356,8 +356,6 @@ SDL_FillRect(SDL_Surface * dst, SDL_Rect * dstrect, Uint32 color)
}
}
SDL_UnlockSurface(dst);
/* We're done! */
return (0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment