JohnnyCena123
481daf2423
remove extra backslash in fix_win32_compatibility.h ( #5148 )
2025-08-28 22:30:25 +02:00
JohnnyCena123
4a4997c615
fix unnecessary warnings in some files ( #5152 )
2025-08-28 22:28:56 +02:00
Ray
d2f6c4924c
ADDED: [rtext] LoadTextLines()/UnloadTextLines()
2025-08-26 10:17:33 +02:00
Ray
04a3ab0ca7
REVIEW: Added warning in case of no [rcore] backend defined
2025-08-24 11:23:15 +02:00
Ray
52980c947d
REVIEWED: [rtext] Provide more detailed info on glyphs failing to pack #5141
2025-08-24 11:07:55 +02:00
Siltnamis
3c9c66e72b
use RL_MALLOC in stb_truetype
2025-08-23 13:10:27 +03:00
Andreas Rossberg
2deae294c6
[raudio] Properly close FLAC in UnloadMusicStream
...
Fix raysan5/raylib#5131 .
2025-08-21 13:02:19 +02:00
Ray
99cb82a82c
REVIEWED: [rmodels] LoadGLFT(), avoid loading attributes already loaded, issue a warning. FIX : #4996
2025-08-20 16:39:45 +02:00
Ray
5b88e4fe5f
Merge pull request #5124 from JeffM2501/fix_win32_compatibility
...
[utility] Add helper header to fix compatibility with windows.h
2025-08-19 20:18:00 +02:00
Jeffery Myers
15baf176b2
Add a utility header to external that undefines the parts of windows that conflict with raylib, allowing raylib functions to run unimpeded
2025-08-19 10:39:38 -07:00
Jeffery Myers
572230c8ad
Initialize sound alias properties as if it was a new sound
2025-08-19 08:16:20 -07:00
Jan Beukes
8772b0287c
Fix SDL3 compilation error with gcc
2025-08-17 23:44:37 +02:00
λxy.x
16bd18070f
Fix SDL3 build if using package
2025-08-17 11:11:54 +03:00
Ray
0dc4ba53dc
Minor format tweak
2025-08-16 21:06:13 +02:00
Ray
e4dfb6dbb5
Update rl_gputex.h
2025-08-16 20:24:54 +02:00
Ray
2e652bbef1
Merge pull request #5115 from maiconpintoabreu/web_resizable_window_mouse_issue
...
[rcore][web] Work around to fix mouse positioning on scaled window
2025-08-15 12:51:15 +02:00
Maicon Santana
73950befca
Work around to fix mouse positioning on scaled window
2025-08-15 10:57:44 +01:00
Ray
81615a91a6
Merge pull request #5111 from didas72/master
...
Adds more filters for conditional build of GetWindowHandle with GLFW
2025-08-14 21:13:27 +02:00
Diogo Diniz
3ef5ee878c
Adjusted formatting to comply with contribution guidelines
2025-08-14 19:58:22 +01:00
Ray
a9970484f3
Remove trailing spaces
2025-08-14 20:37:18 +02:00
Diogo Diniz
eae1296b08
Fixed bad macro logic
2025-08-14 18:56:31 +01:00
Diogo Diniz
59c979a59d
Added suggestions by planetis-m
2025-08-14 18:46:45 +01:00
Didas72
93f86fa074
fixes #5110
...
Adds more filters for conditional build of GetWindowHandle with glfw
2025-08-14 14:30:29 +01:00
Ray
74339d2008
REVIEWED: IsFileExtension()
2025-08-13 10:43:33 +02:00
Ray
cd1c206676
Update rl_gputex.h
2025-08-13 08:22:00 +02:00
Ray
76284f1a16
Corrected typo
2025-08-13 08:13:18 +02:00
Ray
dd19b8d2c2
REVIEWED: Requested window flags application after window initialization
2025-08-12 11:44:20 +02:00
Ray
195b968b86
Merge pull request #4837 from Andersama/support_all_window_flags_at_initialization
...
[rcore] Support window flags with initialization issues
2025-08-12 11:38:22 +02:00
Ray
95e4494cfe
ADDED: cursorLocked variable and review required code #4940 #4955
2025-08-12 11:33:58 +02:00
Ray
c4414fa1ed
Revert "Merge pull request #4945 from Moros1138/master"
...
This reverts commit bab234a160 , reversing
changes made to 13e384ce71 .
2025-08-12 10:58:56 +02:00
Ray
db2abfb9be
Merge branch 'master' into master
2025-08-12 10:28:52 +02:00
Ray
705ce45a33
FIX: Added callback broke keyboard input on web... #5107
2025-08-10 19:59:33 +02:00
Felipe Jorge
71b7734ce4
fix: QOA when using with LoadMusicStreamFromMemory, reduced the number of allocs and memcpy
2025-08-10 10:05:03 -03:00
Matthijs Kooijman
9582d25217
Fix backspace key in Rpi SSH keyboard
...
There was a typo in the generated keycode.
2025-08-09 21:04:09 +02:00
Ray
c6241b91a2
REVIEWED: IsFileExtension() to avoid other modules dependency #5071
2025-08-08 23:01:04 +02:00
Ray
c2f2878575
Merge pull request #5099 from JohnnyCena123/raysan-typo
...
fix typo in 'Ramon Santamaria'
2025-08-08 07:16:07 +02:00
JohnnyCena123
c25e9f641d
fix typo in 'Ramon Santamaria'
2025-08-08 03:04:33 +03:00
wileyanderssen
c6171d339c
removed unneeded comma
...
hope this gets merged
2025-08-07 19:55:46 +03:00
Ray
570082deba
WARNING: **NEW** raylib code CONVENTION: Comments do not end with '.'
2025-08-07 18:23:20 +02:00
Connor O'Connor
1c2ecfd6ab
fix: buffer overflow in jar_mod.h memcopy
2025-08-06 23:13:05 -04:00
Ray
095319602c
REVIEWED: Compule for OpenGL 1.1 #5088
2025-08-06 13:09:56 +02:00
Ray
cdbe9d75ef
Merge pull request #5085 from Not-Nik/culling_consistency
...
Make culling distances consistent across raylib
2025-08-05 00:45:47 +02:00
Nikolas
7267c1c8a1
Make culling distances consistent across raylib
2025-08-05 00:15:52 +02:00
Ray
e09c9ce281
Minor tweaks
2025-08-04 23:36:07 +02:00
Ray
b4ecfb648d
Merge pull request #5084 from kariem2k/fix_cmake_sdl3
...
Removed verbose logging on SDL3.
2025-08-03 19:53:53 +02:00
Karim Ahmed
603219d6d6
Removed verbose logging on SDL3. Happens every time the property is read!
2025-08-03 18:48:24 +01:00
Jeff Myers
ffe76a4b67
Don't Upload Meshes in LoadObj, LoadModel will upload them. None of the other interchange format readers upload
2025-08-02 14:58:05 -07:00
Ray
1c8eef9b0b
Update raylib and generate ARM64 libraries for Windows, Linux, macOS
2025-08-02 17:59:34 +02:00
Jeffery Myers
bf536d68e1
Make GetRenderWidth and GetREnderHeight return the FBO size if one is active.
2025-08-02 08:37:11 -07:00
Ray
234f4b2b10
Update raylib.h
2025-08-01 19:38:02 +02:00
Ray
43bc00379c
removed trailing spaces
2025-08-01 10:26:28 +02:00
Eike Decker
121c996c6e
fixing OBJ loading crash when there are no normals present
2025-08-01 08:49:48 +02:00
Ray
50acba3ce8
REVIEWED: rcore_web, cleaning and reorganizing
2025-07-30 17:31:49 +02:00
Ray
18ae6a377c
Merge pull request #4956 from Moros1138/consume-keyboard-events
...
[rcore][web] Add `EmscriptenKeyboardCallback()` to consume key events
2025-07-30 17:03:10 +02:00
Ray
12f0943bd9
Update rcore.c
2025-07-30 16:07:14 +02:00
Ray
b40e53f11c
Remove double line spacing
2025-07-30 16:07:08 +02:00
Ray
138010c1eb
Merge branch 'master' of https://github.com/raysan5/raylib
2025-07-28 23:38:00 +02:00
Ray
5ca6bff8ca
Update rl_gputex.h
2025-07-28 23:37:48 +02:00
lepasona
1da6b281de
Update glfw mappings.h
2025-07-27 07:37:07 +00:00
Ray
1fc0b4955f
REVIEWED: rl_gputex.h, added some info for future improvements
2025-07-26 13:36:03 +02:00
Ray
eb7f8912f8
Minor format tweaks
2025-07-26 12:50:29 +02:00
Ray
8343aed4f6
Avoid fatal errors on OBJ model loading
2025-07-26 12:50:12 +02:00
Ray
c9f9219fa6
REVIEWED: DRM cache buffers support #4988
2025-07-26 12:49:49 +02:00
Ray
5c680739bd
Removed platform-specific flag from config.h #4988
2025-07-26 12:49:03 +02:00
Ray
86d9afc10c
Merge pull request #4988 from rob-bits/master
...
[rcore][drm] Replace DRM swap buffer implementation with asynchronous page-flipping and triple framebuffer caching
2025-07-26 12:14:21 +02:00
Ray
715e174d13
Merge pull request #5062 from danilwhale/feat/get-proc-address
...
[rlgl] Add rlGetProcAddress
2025-07-26 12:07:43 +02:00
Ray
7262be85fd
Minor format tweaks
2025-07-26 12:06:24 +02:00
Ray
4da399141a
Merge pull request #5063 from kariem2k/fix_cmake_sdl3
...
Fixed: CMake support for SDL3
2025-07-26 11:49:05 +02:00
Ray
d7893141f3
REVIEWED: rl_gputex.h library to be usable standalone
2025-07-26 11:44:36 +02:00
Ray
94d8d7133b
Merge pull request #5045 from sleeptightAnsiC/fix_gputex_logging
...
[rl_gputex] fix: decouple logging and memory allocation from Raylib
2025-07-26 11:25:58 +02:00
Karim Ahmed
32960af1dc
Fixed:
...
Added CMake support for SDL3.
Now supports including SDL2 or SDL3 as a subdirectory within the project. The system will first check for SDL3, then SDL2. If neither is found, it will attempt find_package(SDL3), followed by find_package(SDL2). If all these checks fail, the process will terminate with an error.
2025-07-24 09:48:52 +01:00
danil
d6a897e551
[rlgl]: Add rlGetProcAddress
2025-07-23 21:41:45 +03:00
Ray
7b017b60d9
Move global variable to right code section
2025-07-21 10:57:21 +02:00
Didas72
36364192d5
Fixes GetWindowHandle returning a bad handle under Linux X11
2025-07-19 22:29:08 +01:00
Ray
9b6c09c32f
Merge pull request #5049 from wwderw/master
...
[build] Update Makefile
2025-07-19 12:29:39 +02:00
wwderw
0b125a5fd7
Update Makefile
...
Remove .bc file removal from clean shell for windows configuration.
2025-07-19 04:54:05 -05:00
Catania
3d93b30262
Update font load message
2025-07-18 15:20:38 +02:00
Ray
82b80a6998
Review formatting, avoid variable
2025-07-17 18:49:58 +02:00
Ray
71b302846a
Review formatting, avoid variable
2025-07-17 18:49:54 +02:00
Ray
8823aba9df
Update rprand.h
2025-07-17 18:49:34 +02:00
Ray
6b9a685bae
Merge pull request #5048 from veins1/patch-4
...
[raudio] Fix: music stopping early. Fix: GetMusicTimePlayed for short music
2025-07-17 18:44:29 +02:00
wwderw
093e5200d0
Update Makefile
...
Clean up library build for the web
2025-07-17 05:19:39 -05:00
veins1
0405de794a
Fix for music stopping too early
2025-07-16 14:22:57 +00:00
veins1
d03ac97eff
GetMusicTimePlayed fix for music shorter than buffer size
2025-07-16 14:18:38 +00:00
Romain Plumaugat
34af70866c
[rtextures] Fix ImageColorReplace() alpha issue #5009
2025-07-15 23:19:39 +02:00
Ray
e00c5eb8b1
Merge pull request #5043 from vinnyhorgan/master
...
Fix warning log macro in rlgl
2025-07-15 20:20:27 +02:00
Ray
cbea2ff502
Merge pull request #5046 from maiconpintoabreu/updatestream-music
...
[raudio] Prevent UpdateMusicStream to run without music playing
2025-07-15 20:18:46 +02:00
Maicon Santana
3320a2c837
Fix to prevent UpdateMusicStream to run without music playing
2025-07-15 19:07:15 +01:00
katonar
8388160c32
- fixing SUPPORT_DRM_CACHE define check at the end of InitPlatform()
2025-07-15 13:58:23 +02:00
sleeptightAnsiC
85bf04c7bf
[rl_gputex] fix: decouple logging and memory allocation from Raylib
...
- make sure that src/external/rl_gputex.h uses it's own macros
for printing warnings and allocating memory
- add few additional macros in order to decouple rl_gputex from headers
that are being included by Raylib (e.g. *_MEMSET, *_NULL and so on)
- make sure that rl_gputex uses RL_*ALLOC, TRACELOG and RLAPI macros
when (and only when) being included by src/rtextures.c
- replace LOG() and RL_GPUTEX_SHOW_LOG_INFO macros with: RL_GPUTEX_WARN
and RL_GPUTEX_SHOW_WARN_INFO (this is a breaking change, but it was
broken and unusable anyway, see:
https://github.com/raysan5/raylib/issues/5039#issuecomment-3065732596 )
- fixes issue all issues mentioned in:
https://github.com/raysan5/raylib/issues/5039#issuecomment-3065732596
- remove logging upon successfully saving a file; Raylib does this
anyway and we want rl_gputex to only print WARNings upon failures;
see: https://discord.com/channels/426912293134270465/541710686468702250/1394406734306480352
- add additional condition when saving a file; now checks for both
fwrite() and fclose() failures; before it would warn about both,
but only return result based on fclose()
- add some notes about the current state of compiling rl_gputex
without depending on Raylib (spoiler: it's still broken...)
- bump rl_gputex version to 1.1 since this is a potential breaking
change (only for people attempting to use it without Raylib)
Fixes: https://github.com/raysan5/raylib/issues/5039
Reference: https://discord.com/channels/426912293134270465/541710686468702250/1394403611852931255
2025-07-15 07:53:50 +02:00
backspaceoverload
44ebf32389
Fix HalfToFloat Mantissa hex value
2025-07-15 00:52:47 -03:00
Daniel Vincent Horgan
901afadbf1
fix warning log macro in rlgl
2025-07-14 15:36:02 +02:00
Jeremy Montgomery
fce3102f1c
Remove excess comments
2025-07-14 00:11:17 -05:00
sir-irk
9f03d7c426
fixing comments
2025-07-13 23:02:02 -05:00
sir-irk
0c69c43c3a
fix ImageDrawLineEx to be able to draw even numbered thicknesses
2025-07-13 22:37:41 -05:00
garrisonhh
8dbacafbe6
fix overflow in cast for ImageBlurGaussian
2025-07-10 12:48:29 -04:00
sleeptightAnsiC
930890555c
[glfw] update mappings.h using GenerateMappings.cmake
...
I did this with the intention of fixing
https://github.com/raysan5/raylib/issues/5027
but it's hard to tell if it will help in that case or not.
Anyway, bumping the header with mappings should be done once in a while.
I haven't found any Raylib script for doing this, so here's how I did it
step-by-step with CMake rule provided by GLFW (I'm on Linux, but this
should be similar on any other POSIX system):
```sh
$ git clone https://github.com/raysan5/raylib.git
$ cd raylib/src/external/glfw/
$ cmake -B ./build -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -G "Unix Makefiles"
$ make -C ./build update_mappings
$ rm -fr ./build
```
then I checked, if any mappings were deleted (without updating) with
following shell one-liner:
```sh
# you must be at 'raylib/src/external/glfw/' when executing this
$ for i in $(git diff ./src/mappings.h | sed -n -e 's/^-"\([0-9a-z]*\),.*$/\1/p'); do grep <./src/mappings.h "$i" > /dev/null || echo "$i"; done;
```
which gave me the following IDs:
```txt
0300000066f700000500000000000000
030000000d0f00001600000000007803
03000000efbe0000edfe000000000000
03000000786901006e70000000000000
050000005e040000e002000030110000
03000000790000000600000010010000
030000000d0f00000d00000000010000
030000000d0f0000d800000072056800
03000000c0160000dc27000001010000
030000008916000000fd000024010000
```
I have checked all those IDs with `git log -p` against
https://github.com/mdqinc/SDL_GameControllerDB
and it seems that all of them were deleted by upstream (I was afraid that
maybe some mappings were added manually by a Raylib contributor and then
overwritten by my patch, but they weren't; All good!)
2025-07-10 01:37:25 +02:00
Ray
defbeee1a7
Merge pull request #5020 from Emil2010/master
...
update dr_libs
2025-07-08 21:45:17 +02:00
Ray
5957564983
Merge pull request #5026 from jonathandw743/sdlfix
...
fixed compile error for PLATFORM sdl
2025-07-08 21:43:30 +02:00
wwderw
8ef51850bf
Update raudio.c
...
Allow for the use of raudio stand alone
2025-07-08 08:51:33 -05:00