Array type definitions is wrong
Brought to you by:
trixx
In sdl_video.pp there is definitions of arrays of some types(SDL_RectArray, SDL_ColorArray, and maybe others). This way, when you dereference SDL_ListModes resulting pointer, you always get 0,0 values. If convert type to double pointer, everithing works ok. So, i think, array definitions should be changed to double pointers.