Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1905 commits
Select commit Hold shift + click to select a range
2a56654
ADDED: Multiply security checks to avoid crashes on wrongly provided …
raysan5 Dec 11, 2025
ae438e8
rlparser: update raylib_api.* by CI
github-actions[bot] Dec 11, 2025
6f7cd3a
[core] Camera2d comment updates (#5401)
JeffM2501 Dec 11, 2025
8fa5f1f
[examples] Fixed `shaders_game_of_life` for web (#5399)
JordSant Dec 11, 2025
2853b28
REVIEWED: Avoid program crash if GPU data is tried to be loaded befor…
raysan5 Dec 11, 2025
b465b4e
RENAMED: Variable names for consistency, `textLength` (length in byte…
raysan5 Dec 11, 2025
9c04b1d
REVIEWED: Store canvas name id at platform initialization
raysan5 Dec 13, 2025
c96669e
REVIEWED: Webpage reference comments starting with `REF:`, more consi…
raysan5 Dec 13, 2025
6f5cabf
Fix misleading example text. (#5409)
Kaluub Dec 14, 2025
5025009
REVIEWED: Make sure all variables are initialized on definition, prio…
raysan5 Dec 14, 2025
9a337f3
ADDED: Support software renderer on Web, blitting framebuffer data di…
raysan5 Dec 14, 2025
a0fd5ab
Update rmodels.c
raysan5 Dec 14, 2025
8d246fd
Fix EXTERNAL_CONFIG_FLAGS being defined even when no custom config is…
olaron Dec 14, 2025
d74556d
Modify text_words_alignment.c (#5411)
Luca-coder07 Dec 15, 2025
cbe3175
Fix #5405
raysan5 Dec 15, 2025
615fc36
Fix #5406
raysan5 Dec 15, 2025
cf0d6fc
REVIEWED: Alignment with other platforms
raysan5 Dec 15, 2025
1c7240a
Revert "REVIEWED: Alignment with other platforms"
raysan5 Dec 16, 2025
f031b2f
Alignment with other platform backends, avoid unneeded includes
raysan5 Dec 16, 2025
33adda1
fixed build errors with zig. now compatible with zig master 0.16.0-de…
dtasada Dec 16, 2025
1c94e94
[rcore] Implement `FLAG_WINDOW_ALWAYS_RUN` on Android (#5414)
caszuu Dec 16, 2025
7a5e8aa
Update rcore_android.c
raysan5 Dec 16, 2025
80ad96a
Fix #5413
raysan5 Dec 16, 2025
7553e9d
REVIEWED: Gamepads on latest `SDL2 2.32.8` and `SDL3 3.3.6` #5403
raysan5 Dec 16, 2025
6d562e5
REVIEWED: HiggDPI content scaling on changing monitors with different…
raysan5 Dec 17, 2025
4b76009
REVIEWED: Window scaling with HighDPI on macOS #5059
raysan5 Dec 17, 2025
ca578b8
Update raylib.sln
raysan5 Dec 18, 2025
720dd22
REVIEWED: `rlLoadTexture()`, un complete texture do to issue on mipma…
raysan5 Dec 18, 2025
66392fe
REVIEWED: `rlGetPixelDataSize()`, correct compressed data size calcul…
raysan5 Dec 18, 2025
f16fb06
Update rcore_template.c
raysan5 Dec 19, 2025
13f9112
Update rcore_desktop_sdl.c
raysan5 Dec 19, 2025
b944686
REXM: RENAMED: `core_high_dpi` --> `core_highdpi_demo`
raysan5 Dec 20, 2025
3212bec
Update BINDINGS.md (#5421)
SabeDoesThings Dec 21, 2025
8516750
Remove internal function
raysan5 Dec 22, 2025
e4baf68
Update rtext.c
raysan5 Dec 22, 2025
f27f2d0
REVIEWED: HighDPI support on macOS (when requested by app)
raysan5 Dec 22, 2025
aa2884b
Update rcore_desktop_glfw.c
raysan5 Dec 22, 2025
6a701b2
fix android SetWindowState (#5424)
caszuu Dec 23, 2025
0a4583c
[rl_gputex.h] Possibly fixed the swizzling in `rl_load_dds_from_memor…
msmith-codes Dec 23, 2025
ddb827f
Fixed LoadCodepoints declaring a new local variable shadowing `codpoi…
KiviTK Dec 24, 2025
a1e84ca
RGFW also requires RGBA8 images as window icons, as raylib already re…
Crisspl Dec 24, 2025
05f42aa
Update core_highdpi_testbed.c
raysan5 Dec 24, 2025
ced8433
Update rl_gputex.h
raysan5 Dec 24, 2025
9103f6e
ADDED: New platform backend for Web: `Emscripten`, not dependant on G…
raysan5 Dec 24, 2025
fc843dc
Create SECURITY.md
raysan5 Dec 24, 2025
20dd464
REVIEWED: Potential security concerns while copying unbounded text da…
raysan5 Dec 24, 2025
1015021
Fixed FLAG_IS_SET to check if all bits in the flag are set in the val…
vushu Dec 24, 2025
5e14ac5
#5387 - Fix keyboard input detected as gamepad on some Android device…
kellemar Dec 26, 2025
aee6734
fix: set correct default axes for gamepads that are not connected (in…
LeapersEdge Dec 26, 2025
64bd27b
Update rcore_desktop_glfw.c
raysan5 Dec 26, 2025
25a54d8
Update rcore_desktop_win32.c
raysan5 Dec 26, 2025
84dfe6a
[rmodels] Fix glTF animation framerate calculation (#4472) (#5445)
TheLazyIndianTechie Dec 27, 2025
538bf82
Update README.md
raysan5 Dec 27, 2025
e4491b4
Update README.md
raysan5 Dec 27, 2025
05f5143
Update README.md
raysan5 Dec 27, 2025
da1a766
REMOVED: `CORE.Window.fullscreen`, using available flag instead
raysan5 Dec 28, 2025
37bc3f5
REMOVED: `SetupFramebuffer()`, most platforms do not need it any more
raysan5 Dec 28, 2025
1d8e011
Update rcore_drm.c
raysan5 Dec 28, 2025
8cfb99f
Minor comment tweaks
raysan5 Dec 28, 2025
297dcc0
Update core_highdpi_testbed.c
raysan5 Dec 28, 2025
2cf8983
WARNING: REDESIGNED: Fullscreen modes, use current display resolution
raysan5 Dec 28, 2025
11c248a
Update rcore_web.c
raysan5 Dec 28, 2025
c0c8ee9
Update rcore_desktop_glfw.c
raysan5 Dec 28, 2025
4176c51
Update rcore_desktop_glfw.c
raysan5 Dec 28, 2025
8871d76
Update core_highdpi_testbed.c
raysan5 Dec 28, 2025
8a75439
REVIEWED: Fullscreen modes on Linux (X11 over XWayland)
raysan5 Dec 28, 2025
6450a48
Update core_highdpi_testbed.c
raysan5 Dec 28, 2025
890ca8d
REVIEWED: `GetWindowPosition()`, return internal value
raysan5 Dec 28, 2025
a334a54
Update rcore_desktop_glfw.c
raysan5 Dec 28, 2025
eb3cc18
REVIEWED: FIXED: Windows fullscreen, after breaking it due to X11/Way…
raysan5 Dec 28, 2025
8f83460
Add chicken scheme to BINDINGS.md (#5449)
meowstr Dec 28, 2025
58d414b
REVIEWED: `InitPlatform()`, code simplification
raysan5 Dec 29, 2025
00f42e4
[rcore] [android] fixed gesture system not reporting GESTURE_NONE (#5…
padmadevd Dec 29, 2025
1c6f683
[rcore][drm] Improved touch input handling and multitouch support, cl…
MULTidll Dec 29, 2025
2b48cf6
Formating review
raysan5 Dec 29, 2025
7523738
Add hilbert curve example (#5454)
hmz-rhl Dec 30, 2025
6dfaf9f
REVIEWED: example `shapes_hilbert_curve` #5454
raysan5 Dec 30, 2025
ebf2f61
Delete core_input_keyboard_gamepad_test.c
raysan5 Dec 30, 2025
6e70dec
Update minshell.html
raysan5 Dec 30, 2025
fa1d4eb
Update shapes_hilbert_curve.c
raysan5 Dec 30, 2025
f260f5f
Update Makefile
raysan5 Dec 30, 2025
695f353
Update Makefile.Web
raysan5 Dec 30, 2025
4054fc4
Remove stdio.h unused header (#5456)
Luca-coder07 Dec 30, 2025
0c3e10b
REVIEWED: `FileExists()`, using macro
raysan5 Dec 30, 2025
8c83dc7
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Dec 30, 2025
9b183e0
REXM: Update examples and reports
raysan5 Dec 30, 2025
e534f14
Fix window width calculation by adding wOffset (#5457)
CosmosShell Dec 31, 2025
4af95a3
Use eglGetPlatformDisplayEXT on DRM platform for Mali compatibility (…
kellemar Dec 31, 2025
25ce646
Added SSE to MatrixMultiply. (#5427)
mcdubhghlas Dec 31, 2025
02cca28
REVIEWED: `eglGetPlatformDisplay()` usage
raysan5 Dec 31, 2025
66755da
REVIEWED: `eglGetPlatformDisplay()` usage
raysan5 Dec 31, 2025
c124f25
REVIEWED: SIMD instrinsics must be explicitly enabled by developer, o…
raysan5 Dec 31, 2025
0133a4e
Make CameraMove up and right work with Z up cameras like the other fu…
JeffM2501 Dec 31, 2025
2377506
Update rcamera.h
raysan5 Dec 31, 2025
83377a3
Update examples_list.txt
raysan5 Dec 31, 2025
f805e6c
REXM: Update `Makefile.Web` before trying to rebuild new example for web
raysan5 Dec 31, 2025
ab1d9b3
REXM: Check example exists (compilation worked) before trying to run it
raysan5 Dec 31, 2025
cac02ab
REXM: REVIEWED: Add new example to collection list at the end of its …
raysan5 Dec 31, 2025
95f72b1
REVIEWED: `TextReplace()`, revert breaking change, needs to be review…
raysan5 Dec 31, 2025
eb4ad50
make sure that our up vector really is up in an axis before picking a…
JeffM2501 Dec 31, 2025
909f040
Remove trailing spaces
raysan5 Jan 1, 2026
5a3391f
[rtext] Fix multiple security vulnerabilities in font loading (#5433,…
oneafter Jan 1, 2026
c07d075
REVIEWED: Security checks formatting and comments
raysan5 Jan 1, 2026
c9a456e
Add DenoRaylib550 binding to BINDINGS.md (#5462)
JJLDonley Jan 2, 2026
980e4d0
Use the size of the texture as the V scale so repeatable textures wor…
JeffM2501 Jan 2, 2026
416af51
Update year to 2026
raysan5 Jan 2, 2026
ca89934
Update year to 2026
raysan5 Jan 2, 2026
942f93d
fix(build): do not use != assignment in Makefiles (#5464)
sleeptightAnsiC Jan 2, 2026
c92de5f
REVIEWED: Comments about intrinsics support #5316
raysan5 Jan 2, 2026
9fe51a6
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 2, 2026
f67e70b
Fix typecast warnings in rcore (#5466)
JeffM2501 Jan 3, 2026
b00cbda
Cleanup warnings in examples (#5467)
JeffM2501 Jan 3, 2026
a44157c
[example] Added textures_frame_buffer_rendering (#5468)
jackboakes Jan 3, 2026
c4b11a3
Fix DrawMeshInstanced breaking if instanceTransform is unused (#5469)
al13n321 Jan 3, 2026
af544c2
[rcore] Fix touch position automation event handling (#5470)
ssszcmawo Jan 3, 2026
35fc8ec
Update models_decals.c
raysan5 Jan 3, 2026
3678c2d
REMOVE: `TRACELOGD()`, hardly ever used
raysan5 Jan 5, 2026
c78ac65
Don't require a M3d animation only file to have a mesh. There are val…
JeffM2501 Jan 6, 2026
23bc037
Revert change, trying to follow DRM implementation but not needed on …
raysan5 Jan 7, 2026
c256f14
added saving to memory buffer and SaveFileData for binary files (#5476)
ssszcmawo Jan 7, 2026
229f826
Reviewed change #5476
raysan5 Jan 7, 2026
5e1f5d5
examples/models: optimize collision check in first_person_maze (#5478)
pauldahacker Jan 7, 2026
c814625
Update models_first_person_maze.c
raysan5 Jan 7, 2026
5398b8c
Update rexm.c
raysan5 Jan 7, 2026
0bcf79c
[#5455] Fix for: Fix window width calculation by adding wOffset (#5480)
Crisspl Jan 8, 2026
16e6d32
[raudio] Fix freeing the wrong memory (#5481)
MarcosTypeAP Jan 8, 2026
5cc42c1
Updated file name
raysan5 Jan 9, 2026
4cf844b
Update raylib.h
raysan5 Jan 9, 2026
b365d23
Update examples_list.txt
raysan5 Jan 9, 2026
cfd5c3f
Update examples_list.txt
raysan5 Jan 9, 2026
7218b67
REXM: Updated: `textures_framebuffer_rendering`
raysan5 Jan 9, 2026
11f7db2
REXM: ADDED: `core_keyboard_testbed`
raysan5 Jan 9, 2026
a6dd2af
Update rexm.c
raysan5 Jan 9, 2026
1284d68
Update core_highdpi_testbed.png
raysan5 Jan 9, 2026
5b0a799
fix (#5482)
Meehai Jan 9, 2026
8de88c7
fix: fall back on dirent filename when all route fails on Android (#5…
lucas150670 Jan 10, 2026
6833305
REVIEWED: `android_fopen()`
raysan5 Jan 10, 2026
c7de5c9
Updated examples VCXPROJ UUID, not correctly calculated by REXM
raysan5 Jan 10, 2026
2f6feb7
Update raylib.sln
raysan5 Jan 10, 2026
dd7a194
WARNING: REDESIGN: REMOVED: `utils` module, functionality moved to `r…
raysan5 Jan 10, 2026
21f026a
rlparser: update raylib_api.* by CI
github-actions[bot] Jan 10, 2026
1606dca
Update CMakeLists.txt
raysan5 Jan 10, 2026
f2c8a9c
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 10, 2026
d94ea00
Update raylib.sln
raysan5 Jan 10, 2026
972d6f0
REXM: Fix raylib building
raysan5 Jan 10, 2026
483b26e
Update rexm.c
raysan5 Jan 11, 2026
51bdaa3
Update raylib.vcxproj
raysan5 Jan 11, 2026
4badbe2
REVIEWED: Variable scope #5485
raysan5 Jan 11, 2026
d7c38cf
fix rglfw.c path in build.zig for bsd platforms (#5486)
jamesmintram Jan 11, 2026
32e7732
Update build.zig to work with 0.16 (#5487)
mdm5995 Jan 11, 2026
0c33c60
REVIEWED: `EXTERNAL_CONFIG_FLAGS` usage, check moved to `config.h`
raysan5 Jan 12, 2026
28b9411
REMOVED: `RLGL_RENDER_TEXTURES_HINT`, enabled by default and no compl…
raysan5 Jan 12, 2026
644ff28
Update shaders_deferred_rendering.c
raysan5 Jan 12, 2026
cfb81e4
fix zig build accessing env vars (#5490)
iisakkirotko Jan 12, 2026
132151c
Revert "Update build.zig to work with 0.16 (#5487)"
raysan5 Jan 13, 2026
533a17e
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 13, 2026
4be6815
Revert "fix zig build accessing env vars (#5490)"
raysan5 Jan 13, 2026
4b74312
Update ROADMAP.md
raysan5 Jan 13, 2026
026b7e8
fix drm resources leak (#5494)
mck1117 Jan 15, 2026
a938a7c
chore: add GetAppDir for wasm returning root VFS (#5495)
cortexmancer Jan 15, 2026
0df2fe9
REVIEWED: `ExportFontAsCode()` #5497
raysan5 Jan 15, 2026
439448a
Update rcore.c
raysan5 Jan 15, 2026
10b94b0
Fix opengl interop single header library not having it's implementati…
jscaff Jan 15, 2026
9621c3d
Add QNX EGL2.0 Library configuration (#5499)
jscaff Jan 16, 2026
fbed591
Reviewed example
raysan5 Jan 17, 2026
a8c75f2
Update models_first_person_maze.c
raysan5 Jan 17, 2026
29896a2
REVIEWED: Some comments (Code Gardening)
raysan5 Jan 19, 2026
c610d22
Update text_inline_styling.c
raysan5 Jan 20, 2026
594f542
[rcore] `LoadDirectoryFilesEx()`, count files if not recursive (#5496)
katanya04 Jan 23, 2026
e16467e
Clean up Matrix handling and rl* functions to follow convention (#5505)
noinodev Jan 23, 2026
eda9152
Update miniaudio to v0.11.24 (#5506)
vdemcak Jan 23, 2026
b21d7f2
[raymath] `QuaternionFromVector3ToVector3()`, math is wrong (#5508)
The4codeblocks Jan 23, 2026
a33ae4a
Update raymath.h
raysan5 Jan 23, 2026
70a63f7
[web] Fix Emscripten's Closure compiler error: undeclared canvas vari…
vdemcak Jan 24, 2026
afe74c1
Refactor int to float missing parse (#5503)
maiconpintoabreu Jan 24, 2026
65cddc8
Reviewed comments
raysan5 Jan 25, 2026
6986183
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 25, 2026
3568b6e
[rtext] Fix and enhance `TextReplace()` function (#5511)
ssszcmawo Jan 26, 2026
4c71625
[CI] Removing double zip and misleading zip type (#5512)
maiconpintoabreu Jan 26, 2026
63e4fd8
fixed typos preventing launch of native win32 backend (#5515)
mikeemm Jan 27, 2026
d0a6892
[rcore] `IsMouseButton*()`, random key codes return unexpected result…
jasoncnm Jan 28, 2026
af37fa2
Refactoring based on Coding Style Conventions (#5517)
maiconpintoabreu Jan 28, 2026
8a2da96
Reviewed formating and spacing
raysan5 Jan 28, 2026
de7fc12
REVIEWED: `IsGamepadButton*()` for consistency with key and mouse equ…
raysan5 Jan 28, 2026
08e79a1
Refactoring {0} to { 0 } to follow conventions (#5519)
maiconpintoabreu Jan 29, 2026
d5ae12f
Update raylib_1024x1024.png
raysan5 Jan 29, 2026
e56cdc2
Update raylib_144x144.png
raysan5 Jan 29, 2026
242dfee
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 29, 2026
1aafd3c
fixed win32 vsync flag not being applied (#5521)
mikeemm Jan 31, 2026
403c2cb
trivial: Correct typo in log message. (#5523)
eloj Jan 31, 2026
33dcd62
Added documentation comments for (#5525)
XenoMustache Feb 2, 2026
54b12ed
update cmake for rgfw (#5527)
CrackedPixel Feb 3, 2026
ccfa3f7
fixed an issue when using an empty window title (#5526)
CrackedPixel Feb 3, 2026
4c1efc2
[rcore] Fix native win32 window minimizing/maximizing (#5524)
mikeemm Feb 4, 2026
a96cbe0
Close opened directory (#5529)
alexf91 Feb 4, 2026
d4f6361
refactor to follow the CONVENTIONS.md (#5530)
maiconpintoabreu Feb 4, 2026
f43e049
Refactor removing extra space and add break line for { (#5533)
maiconpintoabreu Feb 5, 2026
3881d2a
Fix: Detect collision if one line is almost vertical (#5510) (#5531)
bielern Feb 5, 2026
4f76b89
REVIEWED: `CheckCollisionLines()`, formating and follow raylib conven…
raysan5 Feb 6, 2026
a6fa8b9
Fix out of bound Memory read in Material.maps (#5534)
Sumethh Feb 6, 2026
b29d6ee
Update BINDINGS.md (#5538)
SabeDoesThings Feb 9, 2026
5a36ce5
[rcore] Implemented SetWindowMaxSize, SetWindowMinSize, and SetWindow…
mikeemm Feb 9, 2026
c0829bc
Add raylib bindings for Wave language (#5539)
LunaStev Feb 9, 2026
c4baa5b
REVIEWED: Comments
raysan5 Feb 9, 2026
49cd2dd
Update rcore.c
raysan5 Feb 9, 2026
eba1fca
Update rcore.c
raysan5 Feb 9, 2026
a654beb
REVIEWED: Comments
raysan5 Feb 9, 2026
f6910bc
Update rcore_drm.c
raysan5 Feb 9, 2026
e67dc15
Update rcore_desktop_glfw.c
raysan5 Feb 9, 2026
9861baf
Update textures_framebuffer_rendering.c
raysan5 Feb 9, 2026
f190c6a
Update rcore.c
raysan5 Feb 9, 2026
84f7578
Update rcore.c
raysan5 Feb 9, 2026
7e59e1d
REVIEWED: Formating
raysan5 Feb 9, 2026
b39cc6b
Update win32_clipboard.h
raysan5 Feb 9, 2026
3b647c8
raymath: wrap float3 and float16 for consistency with other types (#5…
n-s-kiselev Feb 9, 2026
efda35b
Update win32_clipboard.h
raysan5 Feb 9, 2026
4b01c23
[build] Zig master branch compatibility for `build.zig`. (#5520)
dtasada Feb 10, 2026
48ec41f
Update raylib.h
raysan5 Feb 10, 2026
3aced1f
Update rmodels.c
raysan5 Feb 10, 2026
919ad68
rlparser: update raylib_api.* by CI
github-actions[bot] Feb 10, 2026
64848bb
Update BINDINGS.md (#5546)
GuvaCode Feb 11, 2026
85de580
fix(examples): don't bleed fog when on edge (#5547)
vegerot Feb 12, 2026
4e7c38a
fix SDL SetGamepadMappings (#5548)
arlez80 Feb 12, 2026
070082f
REVIEWED: Comments to impersonal format
raysan5 Feb 12, 2026
dcd8130
Update raylib.h
raysan5 Feb 12, 2026
8e81ca0
Update win32_clipboard.h
raysan5 Feb 12, 2026
debbb90
fix extra drawtext() (#5551)
CrackedPixel Feb 14, 2026
8f1421e
fix wrong name (#5552)
CrackedPixel Feb 14, 2026
a78d575
change attenuation distance (#5555)
CrackedPixel Feb 14, 2026
fd40d2b
fix missing alias for PS (#5559)
CrackedPixel Feb 14, 2026
4d6ef19
change on-screen text (#5553)
CrackedPixel Feb 14, 2026
b210d16
fix y-offset casting (#5556)
CrackedPixel Feb 14, 2026
b04d2a2
change d-pad text to shapes (#5557)
CrackedPixel Feb 14, 2026
fb5bc42
update camera pan speed (#5554)
CrackedPixel Feb 14, 2026
1061daf
REVIEWED: Installed libraries #5550
raysan5 Feb 14, 2026
dbca900
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Feb 14, 2026
180c3c1
REVIEWED: `GetImageColor()` #5560
raysan5 Feb 14, 2026
d01f158
REVIEWED: Window initialization on HighDPI monitor (Windows) #5549
raysan5 Feb 15, 2026
059ebaa
REVIEWED: HIghDPI content scaling on macOS
raysan5 Feb 15, 2026
6564cea
Fixed doesn't property load when 1 frame animation. (#5561)
arlez80 Feb 15, 2026
7c48fa9
Update Makefile
raysan5 Feb 15, 2026
b871a55
Init framebuffer using render size (should be same as currentFbo)
raysan5 Feb 17, 2026
4678a54
[rcore][glfw] Fix window scaling on Wayland with GLFW 3.4+ (#5564)
0xPD33 Feb 17, 2026
5bbb2fc
REVIEWED: Wayland checks, using compilation flags when possible #5564
raysan5 Feb 17, 2026
4311df1
Add bone blending animation example (#5543)
dmitrii-brand Feb 17, 2026
95edeec
REVIEWED: example: `models_animation_bone_blending`
raysan5 Feb 17, 2026
1955516
Updated raygui for examples
raysan5 Feb 17, 2026
872cfae
REVIEWED: `LoadDirectoryFilesEx()`, minor tweak #5569
raysan5 Feb 17, 2026
e8ce00d
REVIEWED: `LoadGLTF()`, log warning about draco compression not suppo…
raysan5 Feb 17, 2026
97023de
REVIEWED: `GenImageFontAtlas()`, scale image to fit all characters, i…
raysan5 Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
name: Analyze raylib with CodeQL

on:
workflow_dispatch:
Expand All @@ -26,7 +26,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-20.04' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -90,7 +90,7 @@ jobs:
cmake --build . --config $BUILD_TYPE

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
upload: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Android
name: Build raylib - Android

on:
workflow_dispatch:
Expand Down Expand Up @@ -84,8 +84,10 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.tar.gz
path: ./build/${{ env.RELEASE_NAME }}.tar.gz
name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.tar.gz

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMakeBuilds
name: Build raylib CMake - Windows+Linux

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux Examples
name: Build raylib examples - Linux

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows Examples
name: Build raylib examples - Windows

on:
workflow_dispatch:
Expand Down
42 changes: 31 additions & 11 deletions .github/workflows/linux.yml → .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux
name: Build raylib - Linux

on:
workflow_dispatch:
Expand All @@ -22,22 +22,28 @@ jobs:
build:
permissions:
contents: write # for actions/upload-release-asset to upload release asset
runs-on: ubuntu-20.04
strategy:
fail-fast: false
max-parallel: 1
matrix:
bits: [32, 64]
include:
- bits: 32
ARCH: "i386"
ARCH_NAME: "i386"
COMPILER_PATH: "/user/bin"
COMPILER_PATH: "/usr/bin"
runner: "ubuntu-latest"
- bits: 64
ARCH: "x86_64"
ARCH_NAME: "amd64"
COMPILER_PATH: "/user/bin"
COMPILER_PATH: "/usr/bin"
runner: "ubuntu-latest"
- bits: 64
ARCH: "aarch64"
ARCH_NAME: "arm64"
COMPILER_PATH: "/usr/bin"
runner: "ubuntu-24.04-arm"

runs-on: ${{ matrix.runner }}
env:
RELEASE_NAME: raylib-dev_linux_${{ matrix.ARCH_NAME }}

Expand All @@ -54,7 +60,6 @@ jobs:
- name: Setup Environment
run: |
sudo apt-get update -qq
sudo apt-get install gcc-multilib
sudo apt-get install -y --no-install-recommends libglfw3 libglfw3-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libxfixes-dev libwayland-dev libxkbcommon-dev
mkdir build
cd build
Expand All @@ -64,23 +69,36 @@ jobs:
mkdir lib
cd ../../../raylib
# ${{ matrix.ARCH }}-linux-gnu-gcc -v

- name: Setup Environment (x86)
run : |
sudo apt-get install gcc-multilib
if: matrix.bits == 32 && matrix.ARCH == 'i386'

# TODO: Support 32bit (i386) static/shared library building
- name: Build Library
- name: Build Library (32-bit)
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" CUSTOM_CFLAGS="-m32" -B
# make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
if: matrix.bits == 32

- name: Build Library
- name: Build Library (64-bit x86)
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
if: matrix.bits == 64 && matrix.ARCH == 'x86_64'

- name: Build Library (64-bit ARM)
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
make PLATFORM=PLATFORM_DESKTOP CC=gcc RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
if: matrix.bits == 64
if: matrix.bits == 64 && matrix.ARCH == 'aarch64'

- name: Generate Artifacts
run: |
Expand All @@ -96,8 +114,10 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.tar.gz
path: ./build/${{ env.RELEASE_NAME }}.tar.gz
name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.tar.gz

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS
name: Build raylib - macOS

on:
workflow_dispatch:
Expand Down Expand Up @@ -101,8 +101,10 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.tar.gz
path: ./build/${{ env.RELEASE_NAME }}.tar.gz
name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.tar.gz

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: WebAssembly
name: Build raylib - WebAssembly

on:
workflow_dispatch:
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.64
version: 3.1.71
actions-cache-folder: 'emsdk-cache'

- name: Setup Release Version
Expand Down Expand Up @@ -71,8 +71,10 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.zip
path: ./build/${{ env.RELEASE_NAME }}.zip
name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.zip

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows
name: Build raylib - Windows

on:
workflow_dispatch:
Expand Down Expand Up @@ -28,41 +28,48 @@ jobs:
max-parallel: 1
matrix:
compiler: [mingw-w64, msvc16]
bits: [32, 64]
ziptarget: [ win32, win64, winarm64 ]
include:
- compiler: mingw-w64
bits: 32
ARCH: "i686"
WINDRES_ARCH: pe-i386
ziptarget: "win32"
- compiler: mingw-w64
bits: 64
ARCH: "x86_64"
WINDRES_ARCH: pe-x86-64
ziptarget: "win64"
- compiler: msvc16
bits: 32
ARCH: "x86"
VSARCHPATH: "Win32"
VSARCHPATH: "Win32"
ziptarget: "win32"
- compiler: msvc16
bits: 64
ARCH: "x64"
ARCH: "x64"
VSARCHPATH: "x64"
ziptarget: "win64"
- compiler: msvc16
ARCH: "ARM64"
VSARCHPATH: "ARM64"
ziptarget: "winarm64"
exclude:
- compiler: mingw-w64
ziptarget: winarm64 # We don't build arm64 with mingw-w64 yet

env:
RELEASE_NAME: raylib-dev_win${{ matrix.bits }}_${{ matrix.compiler }}
RELEASE_NAME: raylib-dev_${{ matrix.ziptarget }}_${{ matrix.compiler }}
GNUTARGET: default

steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup Release Version
run: |
echo "RELEASE_NAME=raylib-${{ github.event.release.tag_name }}_win${{ matrix.bits }}_${{ matrix.compiler }}" >> $GITHUB_ENV
echo "RELEASE_NAME=raylib-${{ github.event.release.tag_name }}_${{ matrix.ziptarget }}_${{ matrix.compiler }}" >> $GITHUB_ENV
shell: bash
if: github.event_name == 'release' && github.event.action == 'published'

- name: Setup Environment
run: |
run: |
dir
mkdir build
cd build
Expand Down Expand Up @@ -90,8 +97,8 @@ jobs:
shell: cmd
if: |
matrix.compiler == 'mingw-w64' &&
matrix.bits == 32
matrix.arch == 'i686'

- name: Build Library (MinGW-w64 64bit)
run: |
cd src
Expand All @@ -105,7 +112,7 @@ jobs:
shell: cmd
if: |
matrix.compiler == 'mingw-w64' &&
matrix.bits == 64
matrix.arch == 'x86_64'

- name: Build Library (MSVC16)
run: |
Expand Down Expand Up @@ -135,9 +142,11 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_NAME }}.zip
path: ./build/${{ env.RELEASE_NAME }}.zip

name: ${{ env.RELEASE_NAME }}
path: |
./build/${{ env.RELEASE_NAME }}
!./build/${{ env.RELEASE_NAME }}.zip

- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
with:
Expand Down
74 changes: 37 additions & 37 deletions .github/workflows/parse.yml → .github/workflows/parse_api.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: Parse raylib_api
on:
workflow_dispatch:
push:
paths:
- "src/raylib.h"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update parse files
working-directory: parser
run: |
make raylib_api
mv raylib_api.* output
- name: Diff parse files
id: diff
run: |
git add -N parser
git diff --name-only --exit-code
continue-on-error: true
- name: Commit parse files
if: steps.diff.outcome == 'failure'
run: |
set -x
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add parser
git commit -m "Update raylib_api.* by CI"
git push
name: Parse raylib API

on:
workflow_dispatch:
push:
paths:
- "src/raylib.h"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Update parse files
working-directory: tools/rlparser
run: |
make raylib_api
mv raylib_api.* output

- name: Diff parse files
id: diff
run: |
git add -N tools/rlparser/output
git diff --name-only --exit-code
continue-on-error: true

- name: Commit parse files
if: steps.diff.outcome == 'failure'
run: |
set -x
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add tools/rlparser/output
git commit -m "rlparser: update raylib_api.* by CI"
git push
Loading