10aded
0a895edfec
added comment to fingerprint line per recommendation from the standard 'build.zig.zon' file generated by 'zig init' in Zig 0.14.0
hace 1 mes
sleeptightAnsiC
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
hace 1 mes
zewenn
590f793755
Update build.zig.zon to use the new zig v0.14 version ( #4819 )
hace 1 mes
Kaluub
9ba0cdbe6d
Fix GetCurrentMonitor comments. ( #4812 )
hace 1 mes
Ashish Bhattarai
f1385f3aec
Fix stb_truetype composite glyph scaling logic ( #4811 )
hace 1 mes
Ray
cb3168a048
Wow! We surpassed the **8000** commits! AMAZING! :D
hace 1 mes
sleeptightAnsiC
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
hace 1 mes
Ray
b99c2848c1
Merge branch 'master' of https://github.com/raysan5/raylib
hace 1 mes
Ray
654131799e
Minor tweaks
hace 1 mes
sleeptightAnsiC
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
hace 1 mes
Bruno Cabral
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
hace 1 mes
Colleague Riley
e4dcdfa1f2
update RGFW to 1.6 ( #4795 )
hace 1 mes
Ray
e4993c5557
Merge branch 'master' of https://github.com/raysan5/raylib
hace 1 mes
Ray
557d071fa2
Reviewed shader loading message
hace 1 mes
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
hace 1 mes
Ray
da8a08006a
Added some comments on latest change
hace 1 mes
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
* Fix textures on draw mode switch
* formatting fix
* ident
hace 1 mes
Ray
e1ec595251
ADDED: Resource file to example projects #4790
hace 1 mes
Ray
0037ee5420
Merge branch 'master' of https://github.com/raysan5/raylib
hace 1 mes
Ray
256953957f
Update Makefile
hace 1 mes
Ray
a979b10966
Minor format tweak
hace 1 mes
Rico P
1e2fd94209
fix linkage warnings under windows ( #4766 )
hace 1 mes
Slendi
8edbd07b5e
Do not check GUI libs for DRM ( #4792 )
Signed-off-by: Slendi <slendi@socopon.com>
hace 1 mes
Ray
294da26042
Update raymath.h
hace 1 mes
Ray
fc5ff8db5c
Update raymath.h
hace 1 mes
Ray
a5907bfdca
REVIEWED: `MatrixDeterminant()` #4780
hace 1 mes
Mario Nachbaur
85a87baf69
Support `IsWindowHidden()` on web. ( #4789 )
hace 1 mes
Jay Rhoden
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.
hace 1 mes
Peter0x44
99d2119dd6
[build] Add CI for ARM64 with Visual Studio ( #4781 )
* [build] Add ARM64 configuration to raylib.sln
* [build] Add ARM64 to windows.yml
hace 1 mes
Ralph Caraveo
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.
hace 1 mes
Colleague Riley
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
hace 1 mes
Ray
5ea60dd3ce
Minor tweaks
hace 1 mes
Ray
32fcfd3549
Minor tweaks
hace 1 mes
sleeptightAnsiC
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
hace 1 mes
Brian E
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.
hace 1 mes
vict-Yang
b49c079b1d
Fix typo in rshapes.c ( #4772 )
hace 1 mes
Le Juez Victor
2b59e7475f
Implement Android-specific functions ( #4769 )
`GetWindowScaleDPI` and monitor physical dimensions
hace 1 mes
Le Juez Victor
c647d33703
Better default values for normals and tangents (VBOs) ( #4763 )
hace 2 meses
mannikim
ee946b2f16
use strstr instead of TextFindIndex ( #4764 )
hace 2 meses
veins1
1d87932d93
TextSubtext fixes ( #4759 )
Fix buffer write overflow
Fix reading past the end of text
hace 2 meses
Thomas Anderson
a1de60f3ba
added missing file ( #4754 )
hace 2 meses
github-actions[bot]
a61c710b45
Update raylib_api.* by CI
hace 2 meses
goto40
6a644b48f0
doc: audio stream processor, number of channels ( #4753 )
* doc: audio stream processor
* fixed accidental encoding effect
hace 2 meses
Ray
cceabf6961
Formatting review
hace 2 meses
Ray
cfe96931f5
REVIEWED: Formatting #4739
hace 2 meses
Nikolas
bddb5df0d4
[rmodels] Separate GLTF roughness and metallic channels on load ( #4739 )
hace 2 meses
Gil Reis
5a254e3d5e
Set PLATFORM to Web by default when configuring web builds with emcmake ( #4748 )
hace 2 meses
Henrik A. Glass
4f5a20a634
Add missing increments of k in LoadImageDataNormalized() ( #4745 )
hace 2 meses
Chris Dill
1958de4a12
Update raylib-cs binding link ( #4746 )
hace 2 meses
whaley
e85ae86f70
[platforms/glfw] fix: allow GetGamepadButtonPressed() to return GAMEPAD_BUTTON_LEFT_TRIGGER_2 / GAME_PAD_BUTTON_RIGHT_TRIGGER_2 if they are pressed ( #4742 )
hace 2 meses