Re: Help Solving SDL2 Wrapper Example
- Posted by petelomax Sep 27, 2017
- 1618 views
That's a pretty basic error...
public function SDL_LoadBMP(sequence fname) -- atom str = allocate_string(fname,1) -- return SDL_LoadBMP_RW(SDL_RWFromFile(str,"rb"),1) return SDL_LoadBMP_RW(SDL_RWFromFile(fname,"rb"),1) end function
works fine here (on Phix) anyway.