-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make RGFW a custom platform #3941
Conversation
Added some notes, it seems some changes from raylib master branch get into the changelist. I also note |
I replied to two of your comments and I agree that the RLGL part should be in its own PR. |
@ColleagueRiley thanks for the review, added some comments... |
All the comments have been resolved. (I'm not sure if you've seen that yet) |
@ColleagueRiley Wow! Does it really work??? I didn't know collisions could be avoided that way! |
Yep, Rob posted about it here! #3945 (reply in thread) |
@ColleagueRiley I'm trying to compile |
Yep, RGFW doesn't seem to be working with GLAD for some reason. This only seems to be a problem on windows machines however. My next PR will remove GLAD and fix this issue. |
GLAD should work with RGFW now! |
@ColleagueRiley Testing it again and I'm still getting this issue on |
Ensure you're using the newest pull. |
@ColleagueRiley Updated to latest PR version and now I'm getting this issue: |
This is because Raylib needs to link with winmm. You should already be linking with winmm I think. |
Yes, I am, just reviewed it but issue is similar to previous one, for some reason the symbols are not detected despite linking with the appropiate libraries... In any case, is |
I'm not sure why SDL skips that line. Both RGFW and GLFW use that line. For some reason without that line the timing is off on windows. I'm not sure why this didn't happen to you before, but this is not an issue with this PR. |
Also, I don't think I got that issue in my tests so I could be an issue with your setup. |
That's because SDL uses it's own timer system Iirc... |
@ColleagueRiley I reviewed it again and it keeps failing. When I change to |
See if these fix the issue. This issue didn't happen for me, but this might fix it. |
Just applied the same fix on my end and it worked. I don't know why it is not required for GLFW... |
raylib/src/platforms/rcore_desktop.c Line 68 in 3d9aafe
|
@ColleagueRiley Good catch! That functionality should be probably moved from |
That would be silly. This is a one line thing and plus you already use 4 other winapi functions for file I/O. |
…atform license, update makefile info for RGFW platform
merge with the raylib origin
@ColleagueRiley Please, let me know when ready to merge! |
Should be ready to merge now. |
@ColleagueRiley Thank you very much for all the work put on integrating this new platform! Merged! 😄 |
This adds the custom platform for RGFW.
it also removes GLAD.h and loads opengl 3.3 directly in RLGL.h