StrataSource / vtex2

A VTF converter and editor
MIT License
44 stars 8 forks source link

Error messages are vague #41

Closed ENDERZOMBI102 closed 7 months ago

ENDERZOMBI102 commented 7 months ago

When vtex2 compiles a vtf, and an error inside VTFLib occours, vtex will only print a generic error message with absolutely no information on what happened:

Could not create VTF.
Could not add image data from file "avatar.png"

The above error was generated thanks to a non-power-of-two image width, but without stepping though the code with a debugger, one could not tell, when i got it i thought it was some arcane bug in the library/app, while it was working exactly as intended!