Open MikalDev opened 3 years ago
Add error handling for CreateDynamicTexture with incorrect texture size.
(Error showed up with a default skin with no bones, which cause -Infinity, -Infinity texture size.)
In debug mode, show texture size being created.
If texture size illegal, add console debug output and exit gracefully.
Add error handling for CreateDynamicTexture with incorrect texture size.
(Error showed up with a default skin with no bones, which cause -Infinity, -Infinity texture size.)
In debug mode, show texture size being created.
If texture size illegal, add console debug output and exit gracefully.