05c4d8a652
[rlgl.h] Fixed typo in top comment ( #4658 )
...
"renderer" to "rendered"
2025-01-05 12:29:31 +01:00
97fa3a73e8
Fix: Alt-Tab not working in borderless fullscreen ( #3865 ) ( #4655 )
2025-01-03 17:36:48 +01:00
fa0eada61a
Update year to 2025
2025-01-01 00:02:52 +01:00
d1315e8a04
[rmodels] Fix leaks in LoadIQM() and LoadModelAnimationsIQM() ( #4649 )
...
Add calls to UnloadFileData() before return in cases of invalid IQM file.
2024-12-29 21:06:40 +01:00
c0f2067dba
REVIEWED: LoadShaderFromMemory(), use default locations for default shader #4641
2024-12-28 16:35:42 +01:00
5b822585e5
[rcore] [GLFW] [SDL2] Updates CORE.Window.eventWaiting and FLAG_WINDOW_ALWAYS_RUN handling ( #4642 )
...
* Add implementation for CORE.Window.eventWaiting on PLATFORM_DESKTOP_SDL
* Optimize GetFrameTime() reset
* Optimize FLAG_WINDOW_ALWAYS_RUN and GetFrameTime() reset for PLATFORM_DESKTOP_GLFW
2024-12-28 15:59:05 +01:00
7ecc47d12e
Fix IsWindowFocused() on web. ( #4640 )
2024-12-26 20:12:53 +01:00
4758867815
[rcore] [SDL2] Add implementation for FLAG_WINDOW_ALWAYS_RUN ( #4598 )
...
* Enable FLAG_WINDOW_ALWAYS_RUN by default on PLATFORM_DESKTOP_GLFW
* Revert enabling FLAG_WINDOW_ALWAYS_RUN by default on PLATFORM_DESKTOP_GLFW
* Add implementation for FLAG_WINDOW_ALWAYS_RUN on PLATFORM_DESKTOP_SDL
* Add reset for GetFrameTime()
2024-12-26 19:02:57 +01:00
c333e80497
Update RGFW ( #4637 )
...
* 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
2024-12-25 21:19:51 +01:00
873bf31be3
[rmodels] Fix normal transform in UpdateModelAnimationBones ( #4634 )
...
* remove duplicate calculation of `invRotation` in `UpdateModelAnimationBones`
* fix normal transform in `UpdateModelAnimation`
2024-12-24 20:17:37 +01:00
ae3c0df206
Reviewed formating, removed assert() #4635
2024-12-24 20:14:54 +01:00
a7686c47b3
resolved a few segfaults with animation system ( #4635 )
...
* Update rmodels.c
resolves segfault with missing bone weights or bone IDs
* Update rmodels.c segfault with animation and missing normals/animnormals
* correct place.
2024-12-24 20:11:17 +01:00
7868d600f4
[rtext] Fix default font alpha on Big Endian systems ( #4624 )
...
* Fix rtext default font alpha on Big Endian
* Endian Indepence
2024-12-23 22:25:22 +01:00
e5d8de7c63
Fix: Setting flags disables fullscreen #4618 ( #4619 )
2024-12-23 19:26:50 +01:00
67b164bc04
Merge branch 'master' of https://github.com/raysan5/raylib
2024-12-23 19:24:09 +01:00
6f0d8611fe
Formating tweaks
2024-12-23 19:24:07 +01:00
0212ed0a4b
setting MAX_LEVEL based on actual mipcount input ( #4622 )
2024-12-20 14:14:13 +01:00
26e12d6b35
Fix Typo in rcore_desktop_sdl.c ( #4621 )
2024-12-20 13:53:51 +01:00
ab83e6dd41
Image manipulation functions depend on a flag
2024-12-19 13:24:30 +01:00
03ff864087
Formating tweaks
2024-12-18 18:44:23 +01:00
99cb4cbc36
Fix SetGamepadVibration() TRACELOG message ( #4615 )
2024-12-18 14:53:50 +01:00
783ca612cc
Update Makefile
2024-12-18 12:51:00 +01:00
58004723d8
[rcore][RGFW] Add new backend option: PLATFORM_WEB_RGFW and update RGFW ( #4480 )
...
* 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
2024-12-18 12:03:42 +01:00
de6c09ee7a
WARNING: REVIEWED: Use libraylib.web.a naming on PLATFORM_WEB
...
This change allows to have in same directory (currently `raylib/src`) two raylib build versions: Desktop and Web
2024-12-18 11:45:55 +01:00
f76734fc50
REVIEWED: UpdateModelAnimationBones(), break on first mesh found and formating
2024-12-18 11:43:43 +01:00
35c2408413
[rmodels] Optimized UpdateModelAnimationBones() function ( #4602 )
...
- Updating bones only once instead for each mesh.
- Updating only one `model.meshes[].boneMatrices` and then using deep copy for other meshes instead of calculating for each bone in each mesh.
**Other points:**
- Makes it a clean base/template/reference for bone updation functions. Because if using this as template then some calculations done in one mesh can affect bones in other mesh in next iteration(doubles the effect in for next mesh).
Signed-off-by: Kirandeep-Singh-Khehra <kirandeepsinghkhehra@gmail.com >
2024-12-18 11:39:50 +01:00
cdaff163cb
Fix show, hide, focus and unfocus window/flags states for SDL2 ( #4610 )
2024-12-18 11:39:30 +01:00
714cd5ef5c
add SetGamepadVibration to rgfw and template ( #4612 )
2024-12-18 11:38:11 +01:00
bdfbd6e8cc
Fix maximizing, minimizing and restoring windows for SDL2 ( #4607 )
2024-12-16 22:19:00 +01:00
79facde353
fix rlActiveDrawBuffers for OpenGL ES 3 ( #4605 )
2024-12-16 00:51:42 +01:00
d0504800d2
install rcamera.h ( #4603 )
...
Signed-off-by: Per Hallsmark <per.hallsmark@bitjuggler.se >
2024-12-15 11:16:08 +01:00
8a5a95c13a
Removed inaccurate comment about negitves not being supported with TextToFloat And TextToInt Methods ( #4596 )
2024-12-13 09:21:13 +01:00
1f704be4e4
Review comments spacing for better alignment
2024-12-12 12:13:38 +01:00
6b220f2798
Review formating
2024-12-12 12:13:17 +01:00
2a2acff2d5
Make sure ShaderUniformDataType matches rlShaderUniformDataType ( #4577 )
...
* Make sure ShaderUniformDataType matches rlShaderUniformDataType
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ray <raysan5@gmail.com >
2024-12-08 12:52:06 +01:00
d2cd2a0152
[rlgl][rmodels] Add instranceTransform shader location index #4538 ( #4579 )
2024-12-08 12:48:54 +01:00
602583bcdb
Merge branch 'master' of https://github.com/raysan5/raylib
2024-12-03 19:14:29 +01:00
1f45e7af76
REVIEWED: Coding conventions
2024-12-03 19:14:14 +01:00
5feccb1bab
[rmodels] Fixed null pointer dereference in LoadGLTF ( #4564 )
...
* [rmodels] Fixed null pointer dereference in LoadGLTF
* [rmodels] Add parenthesis around conditionals in LoadGLTF
2024-12-03 18:35:24 +01:00
f3f5f38c0f
[rmodels] Fix crash when NULL is passed to LoadImageFromCgltfImage ( #4563 )
2024-12-02 13:35:54 +01:00
b50d418ec7
Merge branch 'master' of https://github.com/raysan5/raylib
2024-12-01 23:25:27 +01:00
dd26df0be8
REVIEWED: Parser issue with comment #4558
2024-12-01 23:25:12 +01:00
ff71e3a513
use unused variable. Fixes #4560 ( #4561 )
2024-12-01 23:22:46 +01:00
962f1c26ff
Review formatting to follow raylib conventions
2024-12-01 23:10:59 +01:00
9047630ae7
[rmodels] Fix null pointer dereference in LoadImageFromCgltfImage ( #4557 )
2024-12-01 22:46:26 +01:00
503cd7ba34
Update raymath.h
2024-12-01 22:45:09 +01:00
1b4e73cf2f
Update documentation for Vector2Angle ( #4556 )
2024-12-01 22:43:32 +01:00
58fe34d9cc
[raudio] Fixed buffer overflow when loading WAV files ( #4539 )
2024-11-28 22:58:35 +01:00
2c4c6e6201
GetKeyName prototype ( #4544 )
...
* Update raylib.h: GeyKeyName prototype
Prototype for GetKeyName, which is already implemented elsewhere.
* Update raylib_to_parse.h: GetKeyName prototype
2024-11-28 22:50:00 +01:00
abb3c8e9f7
Revert "[build][cmake] Improve cmake config file generation ( #4541 )"
...
This reverts commit c53dd8a931 .
2024-11-28 22:44:42 +01:00