12-20-2004, 07:25 AM
SDL_MapRGBA's declaration is missing the last parameter and it's alias is incorrectly all uppercase. It should be changed to this:
Quote:declare function SDL_MapRGBA cdecl alias "SDL_MapRGBA" ( byval format as SDL_PixelFormat ptr, byval r as ubyte, byval g as ubyte, byval b as ubyte, byval a as ubyte ) as uinteger