Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed getTextureData() when failed to load texture
getTextureData() created an image based on width and height values that are undefined if image failed to load. Replaced with default image and image is constructed only if successfully loaded.
- Loading branch information