altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 17 forks source link

rmlUi have problems to display tga and png images #1350

Closed xenicle closed 1 year ago

xenicle commented 2 years ago

Description of the problem

When I use tga image in a decorator rcss declaration I get Could not create texture from file data: -2003292320 error code With a png nothing is displayed.

Reproduction steps

Expected behaviour

rmLui display tga and png image from rcss decorator declaration.

Additional context

gamemode4.zip

Operating system

Windows 10

Version

9.0 RC2

ThePawlow commented 2 years ago

Please fix the download, it's broken

xenicle commented 2 years ago

It worked for me : I have replaced with google drive link

martonp96 commented 1 year ago

We use WICTextureLoader and it does not support TGA. https://github.com/microsoft/DirectXTK/wiki/WICTextureLoader#remarks