I've noticed that some function declarations (namely, those managing the framerate in sdl2_gfx.pas), are missing the cdecl calling convention modifier - I wonder if there's a reason for that?
I'm having troubles using these with FPC on MacOS (error linking) and Windows (Access Violation in runtime) - unless I add cdecl or apply {$CALLING cdecl} unit-wise.
Hello,
I've noticed that some function declarations (namely, those managing the framerate in
sdl2_gfx.pas
), are missing thecdecl
calling convention modifier - I wonder if there's a reason for that?I'm having troubles using these with FPC on MacOS (error linking) and Windows (Access Violation in runtime) - unless I add
cdecl
or apply{$CALLING cdecl}
unit-wise.Thanks.