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
c647d33703
Better default values for normals and tangents (VBOs) ( #4763 )
2025-02-14 01:00:05 +01:00
ee946b2f16
use strstr instead of TextFindIndex ( #4764 )
2025-02-14 00:58:33 +01:00
1d87932d93
TextSubtext fixes ( #4759 )
...
Fix buffer write overflow
Fix reading past the end of text
2025-02-12 23:12:10 +01:00
a1de60f3ba
added missing file ( #4754 )
2025-02-08 11:23:15 +01:00
a61c710b45
Update raylib_api.* by CI
2025-02-08 10:22:50 +00:00
6a644b48f0
doc: audio stream processor, number of channels ( #4753 )
...
* doc: audio stream processor
* fixed accidental encoding effect
2025-02-08 11:22:34 +01:00
cceabf6961
Formatting review
2025-02-02 13:00:20 +01:00
cfe96931f5
REVIEWED: Formatting #4739
2025-02-02 12:59:34 +01:00
bddb5df0d4
[rmodels] Separate GLTF roughness and metallic channels on load ( #4739 )
2025-02-02 12:48:18 +01:00
5a254e3d5e
Set PLATFORM to Web by default when configuring web builds with emcmake ( #4748 )
2025-02-02 12:46:28 +01:00
4f5a20a634
Add missing increments of k in LoadImageDataNormalized() ( #4745 )
2025-02-01 21:30:21 +01:00
1958de4a12
Update raylib-cs binding link ( #4746 )
2025-02-01 21:29:27 +01:00
e85ae86f70
[platforms/glfw] fix: allow GetGamepadButtonPressed() to return GAMEPAD_BUTTON_LEFT_TRIGGER_2 / GAME_PAD_BUTTON_RIGHT_TRIGGER_2 if they are pressed ( #4742 )
2025-02-01 10:50:25 +01:00
99dfec070a
[rtext] fix: misuse of cast in GetCodepointCount ( #4741 )
...
I was really wondering what is going on here :D I believe this code
tried initially to out-cast 'const' specifier but this is not needed here
at all. Currently, it just confuses whoever reads this so I changed it.
The old code would also trigger -Wcast-qual warning on some compilers.
2025-01-31 14:44:23 +01:00
1f6de0c507
Replacing hardcoded canvas id references with module variable usages ( #4735 )
...
Should also have the benefit of being faster.
2025-01-31 00:34:51 +01:00
d46ba9a671
Merge branch 'master' of https://github.com/raysan5/raylib
2025-01-28 16:19:39 +01:00
9789ff123b
REVERTING: emscripten_sleep() previous removal #4713
2025-01-28 16:19:30 +01:00
2492dd3d0a
[build] [Makefile]: Undefine _GNU_SOURCE for rglfw.c ( #4732 )
...
Currently, a warning about _GNU_SOURCE being redefined is emitted when
compiling rglfw.c
In file included from rglfw.c:99:
external/glfw/src/posix_poll.c:27:9: warning: "_GNU_SOURCE" redefined
27 | #define _GNU_SOURCE
| ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
This can be avoided by not defining _GNU_SOURCE on the command line for
this file.
Defining feature test macros in source code is not really good practice
so this should probably reviewed in glfw itself, at least to maybe check
#ifdef _GNU_SOURCE first. But for now this change will suffice.
Fixes #4725
2025-01-27 23:15:09 +01:00
5504983c91
Update CMakeLists.txt ( #4727 )
...
Cmake warn remove
2025-01-27 09:20:10 +01:00
f6f31a9f21
[rtextures] Fix HalfToFloat() and FloatToHalf() dereferencing issues with an union ( #4729 )
...
* Fix HalfToFloat() and FloatToHalf() dereferencing issues with an union
* Remove unnecessary initialization
* Moved the union to inside the functions
2025-01-26 21:26:18 +01:00
53ea275b9c
Merge branch 'master' of https://github.com/raysan5/raylib
2025-01-26 19:43:01 +01:00
861ebafe62
Update shaders_mesh_instancing.c
2025-01-26 19:42:52 +01:00
139de05e9d
[rcore] [SDL2] Fix gamepad event handling by adding joystick instance id tracking ( #4724 )
...
* Fix gamepad SDL_JOYDEVICEADDED and SDL_JOYDEVICEREMOVED event handling for PLATFORM_DESKTOP_SDL by adding joystick instance id tracking
* Fix gamepad button handling
2025-01-25 20:49:42 +01:00
49d37b035f
[rtexture] Cubemap mipmap loading improvements ( #4721 )
...
* [rtextures] Only build cubemap mipmaps when necessary
* [rtextures] Assign correct mipmap count to cubemaps
2025-01-24 10:41:32 +01:00