Commit d9e1036e0f88601f600c1d1226793dab5c37a8c7

Sam Lantinga 2017-10-06T16:17:50

Fixed potential overflow in surface allocation (thanks Yves!)