Re: Window Appears Briefly Then Disappears
- Posted by Icy_Viking Jul 01, 2019
- 1344 views
ghaberek said...
Icy_Viking said...
--Wrapper Code public constant xInitWindow = define_c_proc(ray,"InitWindow",{C_INT,C_INT,C_POINTER}),
Looks like raylib is using CDECL calling convention. You need to prefix function names with a "+" to override the default STDCALL calling convention on Windows.
https://github.com/raysan5/raylib/blob/master/src/raylib.h#L79
-Greg
Thanks Greg, I knew the issue might be simple and it was. That fixed it!