Skip to content

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

Open
@Yoka037

Description

@Yoka037

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions