victorfisac / Physac

2D physics header-only library for videogames developed in C using raylib library.
http://www.victorfisac.com/physac
MIT License
432 stars 28 forks source link

Change return type of PhysicsLoop #60

Open EmperorPenguin18 opened 11 months ago

EmperorPenguin18 commented 11 months ago

When using the built-in pthreads functions, the return type of PhysicsLoop isn't used. However I'm trying to use SDL_CreateThread which expects the function to return an int. Could this be changed for better compatibility?

victorfisac commented 9 months ago

Feel free to open new pull requests with any change that makes this repository more compatible with your needs. Thank you so much.