Skip to content

Wrong function arguments for createTextureFromSurface in SDL2 #85

@z4nsh1n

Description

@z4nsh1n

fn Texture* createTextureFromSurface(Renderer* renderer, Surface surface) @cname("SDL_CreateTextureFromSurface");

The Surface argument should be a pointer. At least it works and doesn't crash any more if I change it into a pointer.

fn Texture* createTextureFromSurface(Renderer* renderer, Surface* surface) @cname("SDL_CreateTextureFromSurface");

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