Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of how to load textures (TGA, BMP, PNG)? #4

Open
Michi037 opened this issue Jan 27, 2024 · 0 comments
Open

Example of how to load textures (TGA, BMP, PNG)? #4

Michi037 opened this issue Jan 27, 2024 · 0 comments

Comments

@Michi037
Copy link

I'm using sdl_image to load the textures with something like this:
SDL_RWops* Arc = SDL_RWFromFile("Dummy.tga", "rb");
SDL_Surface* TestImg = IMG_LoadTGA_RW(Arc);
TestImg->pixels
I tried the vulkan way but that didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant