b80250bee4
Merge pull request #4807 from RicoP/RicoP/sinfl_bsr
...
[rcore] sinfl_bsr fix for TCC
2025-03-11 08:32:32 +01:00
0934cdba48
fix C++ style cast
2025-03-11 07:09:10 +01:00
7dc409d060
potential fix for MSVC compile error
2025-03-11 07:03:57 +01:00
e7872a700d
update sinfl_bsr
2025-03-10 20:57:48 +01:00
7f8bf2233c
REVIEWED: Formating to follow raylib conventions
2025-03-10 17:08:18 +01:00
bd8e59f18d
Replace size_t by unsigned int
2025-03-10 17:07:18 +01:00
4c8c72778d
Remove trailing spaces
2025-03-10 17:04:29 +01:00
9c62a7823b
Update Makefile
2025-03-10 17:04:14 +01:00
0853c5b03f
[rcore][RGFW] bug fixes ( #4798 )
...
* update RGFW to 1.6
* properly handle RGFW_quit events
* fix rcore_desktop_rgfw bugs
* update
* update
* uncomment out
2025-03-10 16:50:40 +01:00
61a026f7ef
[examples] Reorganize some conditions to fix overlap bugs ( #4829 )
...
* Reorganize some conditions to fix overlap bugs
* Fix edge case where control point selection outlives mouse down
2025-03-09 11:40:24 +01:00
5bda46960c
REVIEWED: Linux workflow to run on ubuntu-latest
...
Previous runner `ubuntu-20.04` is deprecated and being removed soon: https://github.com/actions/runner-images/issues/11101
2025-03-08 18:49:50 +01:00
bbeade636c
build.zig.zon: update hashes ( #4826 )
2025-03-08 12:42:17 +01:00
097e80d1c4
added comment to fingerprint line per recommendation from the standard 'build.zig.zon' file generated by 'zig init' in Zig 0.14.0 ( #4827 )
2025-03-08 02:21:50 +01:00
f430d72a8c
[examples] fix: use quotation marks when including raylib.h ( #4821 )
...
...so it will always prioritize local version of raylib instead of
system-wide installations, which is a huge problem when testing any
changes done locally to raylib as it might cause silent mismatch issues.
There were only 4 examples affected by this issue which were using
`#include <raylib.h>`. Other examples use proper `#include "raylib.h"`
Fixes: https://github.com/raysan5/raylib/issues/4820
2025-03-07 19:24:53 +00:00
590f793755
Update build.zig.zon to use the new zig v0.14 version ( #4819 )
2025-03-07 19:24:01 +00:00
9ba0cdbe6d
Fix GetCurrentMonitor comments. ( #4812 )
2025-03-07 19:21:08 +00:00
f1385f3aec
Fix stb_truetype composite glyph scaling logic ( #4811 )
2025-03-04 18:53:11 +01:00
cb3168a048
Wow! We surpassed the **8000** commits! AMAZING! :D
2025-03-02 17:42:10 +01:00
34159399cf
[rcore] fix crash in InitWindow, due to unchecked result of InitPlatform ( #4803 )
...
* [rcore] fix crash in InitWindow, due to unchecked result of InitPlatform
Check the result of InitPlatform(), if it isn't 0, report the Error
and return. This prevent crashes and allows for gracefully aborting
or recovering by checking IsWindowReady().
Partially-fixes: https://github.com/raysan5/raylib/issues/4801
* [rcore] style: store the result of InitPlatform() before checking it
Small style change that doesn't impact how the code behaves here.
Variable 'result' is not used anywhere else in this block,
it's just for compliance with Raylib's coding conventions.
Requested in PR: https://github.com/raysan5/raylib/pull/4803#discussion_r1976502788
* [rcore] use LOG_WARNING when InitPlatform() fails
...as this is preferred over LOG_ERROR.
Requested-by: https://github.com/raysan5/raylib/pull/4803#discussion_r1976651724
2025-03-02 17:05:09 +01:00
539c45ee23
sinfl_bsr fix for TCC
2025-03-02 16:20:49 +01:00
b99c2848c1
Merge branch 'master' of https://github.com/raysan5/raylib
2025-03-02 13:43:32 +01:00
654131799e
Minor tweaks
2025-03-02 13:43:15 +01:00
a20d9dedf3
[desktop_glfw] fix InitPlatform crash caused by glfwCreateWindow... ( #4804 )
...
...returning NULL. This was causing a crash few lines later.
Refs: https://github.com/raysan5/raylib/issues/4801#issuecomment-2691201072
Partially-fixes: https://github.com/raysan5/raylib/issues/4801
2025-03-01 23:42:07 +01:00
eb8a343e31
[cmake] Use STATIC lib ON by default ( #4799 )
...
* search raylib in custom directory
* avoid loading dynamic library when both are installed
* raylib_USE_STATIC_LIBS as option ON
2025-02-26 07:48:59 +01:00
e4dcdfa1f2
update RGFW to 1.6 ( #4795 )
2025-02-25 21:49:37 +01:00
e4993c5557
Merge branch 'master' of https://github.com/raysan5/raylib
2025-02-25 17:50:54 +01:00
557d071fa2
Reviewed shader loading message
2025-02-25 17:50:46 +01:00
7cae259a6d
Reviewed shaders comment wording ( #4793 )
2025-02-25 14:26:52 +01:00
da8a08006a
Added some comments on latest change
2025-02-25 12:46:06 +01:00
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
...
* Fix textures on draw mode switch
* formatting fix
* ident
2025-02-25 12:39:00 +01:00
e1ec595251
ADDED: Resource file to example projects #4790
2025-02-25 12:06:34 +01:00
0037ee5420
Merge branch 'master' of https://github.com/raysan5/raylib
2025-02-25 11:43:32 +01:00
256953957f
Update Makefile
2025-02-25 11:43:25 +01:00
a979b10966
Minor format tweak
2025-02-25 11:43:22 +01:00
1e2fd94209
fix linkage warnings under windows ( #4766 )
2025-02-24 13:54:17 +01:00
8edbd07b5e
Do not check GUI libs for DRM ( #4792 )
...
Signed-off-by: Slendi <slendi@socopon.com >
2025-02-24 13:53:30 +01:00
294da26042
Update raymath.h
2025-02-23 23:07:12 +01:00
fc5ff8db5c
Update raymath.h
2025-02-23 23:06:31 +01:00
a5907bfdca
REVIEWED: MatrixDeterminant() #4780
2025-02-23 23:04:52 +01:00
85a87baf69
Support IsWindowHidden() on web. ( #4789 )
2025-02-23 18:19:42 +01:00
015ab9df18
Amend comment to explain what LoadCodepoints is doing. ( #4787 )
...
As a beginner, it was not clear to me what the purpose of the LoadCodepoints function is. I am trying to help past me.
2025-02-23 18:19:10 +01:00
99d2119dd6
[build] Add CI for ARM64 with Visual Studio ( #4781 )
...
* [build] Add ARM64 configuration to raylib.sln
* [build] Add ARM64 to windows.yml
2025-02-21 15:31:50 +01:00
4522ecae1a
[raudio] Fixed memory leak on early-return of WaveFormat func ( #4779 )
...
In the case of a failure within miniaudio on the function: ma_convert_frames, the dynamic memory allocated for the `data` variable will leak on the early return.
2025-02-21 15:29:12 +01:00
c34ef35433
Update RGFW and ensure it's consistent with the GLFW backend ( #4783 )
...
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
* Update RGFW
* update RGFW
* undo change
* undo change
* undo change
* undo change
* have .scroll be 0 by default
* update RGFW
* update RGFW
* update RGFW
* fix year
* fix wasm key event bug
* update RGFW
* link to IOKit
* update
2025-02-21 12:32:09 +01:00
5ea60dd3ce
Minor tweaks
2025-02-20 18:10:01 +01:00
32fcfd3549
Minor tweaks
2025-02-19 13:38:22 +01:00
77df0ab1e8
[rcore_desktop_glfw.c] fix: make sure that GLFW uses RL_*alloc macros ( #4777 )
...
Raylib allows for providing custom allocators via macros.
GLFW supports this too, but via function pointers.
Make sure that GLFW uses those Raylib macros, by wrapping them in
function calls and setting them up inside of InitPlatform().
This is possible because of glfwInitAllocator() and GLFWallocator.
Fixes: https://github.com/raysan5/raylib/issues/4776
Relates-to: https://github.com/raysan5/raylib/issues/4751
2025-02-18 22:53:18 +01:00
11090ab6cb
[raylib.h] Added space after comma ( #4774 )
...
args for ImageResizeNN were missing a space in the arguments after a comma, i just added one.
2025-02-17 12:12:59 +01:00
b49c079b1d
Fix typo in rshapes.c ( #4772 )
2025-02-16 15:43:32 +01:00
2b59e7475f
Implement Android-specific functions ( #4769 )
...
`GetWindowScaleDPI` and monitor physical dimensions
2025-02-15 19:34:51 +01:00