Re: Window Appears Briefly Then Disappears

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu