luis605
8ec52e3b25
Added example to build system
vor 3 Monaten
luis605
eeda7a4b82
Added shaders_view_depth example to the build system
vor 3 Monaten
Ray
001e78014c
Merge pull request #4860 from marler8997/fixDivide0
Avoid divide by 0 in core_custom_frame_control example
vor 3 Monaten
luis605
e08fc8ab80
Added new example - [shader] render depth texture
vor 3 Monaten
Jonathan Marler
611c43719f
Avoid divide by 0 in core_custom_frame_control example
vor 3 Monaten
MikiZX1
55c6864092
Update rcore_desktop_sdl.c
raylib app crashing when started and a gamepad is already connected to the PC (even if the gamepad is not used in the app). I only tested this with a gamepad that has a layout which is not recognized. Using SDL3 as backend.
vor 3 Monaten
Ray
beaadc9185
Merge pull request #4856 from marler8997/oneBuild
[build] remove examples/build.zig, incorporate into main build.zig
vor 3 Monaten
Ray
3d83c1c796
Format tweak
vor 3 Monaten
Jonathan Marler
ac17de5074
[build] remove examples/build.zig, incorporate into main build.zig
Removes the second build.zig in the examples directory and incorporates it
into the main build.zig. This gives the zig build system the data needed to
know if the raylib library needs to be rebuilt when running any example.
vor 3 Monaten
Ray
909c83fd4a
Avoid path filtering on `TakeScreenshot()`
vor 3 Monaten
Ray
32c8f396c2
Merge branch 'master' of https://github.com/raysan5/raylib
vor 3 Monaten
Ray
63e608d485
comment tweak
vor 4 Monaten
Ray
f5c96302d5
Merge pull request #4850 from sleeptightAnsiC/fix_rcore__ChangeDirectory_TRACELOG
[rcore] fix: TRACELOG upon successfully changing directory
vor 4 Monaten
sleeptightAnsiC
8e9c3ceb57
[rcore] fix: TRACELOG upon successfully changing directory
InitWindow() prints CWD during initialization,
but ChangeDirectory() does not, which is quite confusing when you start
messing with CWD. Now said function should log similar message.
vor 4 Monaten
Ray
46cd07d2c7
WARNING: REVERTED CHANGE THAT BROKE BATCHING!!! #4849
I'm sorry... I did not detect this change was breaking batching... :(
vor 4 Monaten
Ray
266fba1111
Minor tweaks
vor 4 Monaten
Ray
add4da8fb3
Merge pull request #4845 from bamless/log-zoom
[examples] use logarithmic zoom scaling in 2d camera examples
vor 4 Monaten
Fabrizio Pietrucci
e140aca1b5
Increase zoom factor in `core_2d_camera.c`
This compensate for slower zoom speed due to log scaling
vor 4 Monaten
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
vor 4 Monaten
Ray
cd9206956c
Merge pull request #4843 from theundergroundsorcerer/DrawCircleSector-quickfix
Add early return when angles are equal in DrawCircleSector and DrawCircleSectorLine functions.
vor 4 Monaten
Myrddin Krustowski
589ad0a33d
Add early return to circle sector functions when angles are equal.
Prevents unnecessary work and division by zero (when segments=0) in DrawCircleSector/DrawCircleSectorLines when startAngle equals endAngle, matching existing behavior in DrawRing/DrawRingLines.
vor 4 Monaten
Ray
2f63a15630
Merge pull request #4836 from JeffM2501/unscale_on_resize
[rcore] Correctly handle window size on resize in auto-scaled HIGHDPI environment
vor 4 Monaten
Jeffery Myers
d56ab670c3
spaces not tabs
vor 4 Monaten
Ray
bbbdd1f080
Merge pull request #4839 from aidonmaster/patch-1
Converting int to char
vor 4 Monaten
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
vor 4 Monaten
Ray
cb830bed72
Increased depth size and clip distances to avoid z-fighting issues
vor 4 Monaten
Ray
d0e638cc31
REVIEWED: Platform DRM messages...
vor 4 Monaten
Jeffery Myers
4bed3741c1
Unscale the window size on resize if we are doing automatic HighDPI scaling.
vor 4 Monaten
Ray
749a512f13
REVIEWED: `ScanDirectoryFiles*()` #4833
vor 4 Monaten
Ray
654d5c80c2
Merge pull request #4833 from MykBamberg/master
[rcore] Use snprintf to prevent buffer overflow in path construction
vor 4 Monaten
Ray
a0318e67aa
Merge pull request #4835 from NiamhNightglow/master
Guard against DEBUG Redefinition
vor 4 Monaten
Nia Nightglow
fffbbad2f7
Guard against DEBUG Redefinition
Undefine DEBUG to avoid external redefinition
warnings/conflicts. This is probably a common
definition for many external build systems'
debug configurations.
This ensures raylib will not emit
a warning about the DEBUG definition being
redefined in external build systems.
vor 4 Monaten
MykBamberg
daa2921476
[rcore] Use snprintf to prevent buffer overflow in path construction
vor 4 Monaten
Ray
b80250bee4
Merge pull request #4807 from RicoP/RicoP/sinfl_bsr
[rcore] sinfl_bsr fix for TCC
vor 4 Monaten
Rico P
0934cdba48
fix C++ style cast
vor 4 Monaten
Rico P
7dc409d060
potential fix for MSVC compile error
vor 4 Monaten
Rico P
e7872a700d
update sinfl_bsr
vor 4 Monaten
Ray
7f8bf2233c
REVIEWED: Formating to follow raylib conventions
vor 4 Monaten
Ray
bd8e59f18d
Replace `size_t` by `unsigned int`
vor 4 Monaten
Ray
4c8c72778d
Remove trailing spaces
vor 4 Monaten
Ray
9c62a7823b
Update Makefile
vor 4 Monaten
Colleague Riley
0853c5b03f
[rcore][RGFW] bug fixes ( #4798 )
* update RGFW to 1.6
* properly handle RGFW_quit events
* fix rcore_desktop_rgfw bugs
* update
* update
* uncomment out
vor 4 Monaten
Amy Wilder
61a026f7ef
[examples] Reorganize some conditions to fix overlap bugs ( #4829 )
* Reorganize some conditions to fix overlap bugs
* Fix edge case where control point selection outlives mouse down
vor 4 Monaten
Ray
5bda46960c
REVIEWED: Linux workflow to run on `ubuntu-latest`
Previous runner `ubuntu-20.04` is deprecated and being removed soon: https://github.com/actions/runner-images/issues/11101
vor 4 Monaten
David Vanderson
bbeade636c
build.zig.zon: update hashes ( #4826 )
vor 4 Monaten
10aded
097e80d1c4
added comment to fingerprint line per recommendation from the standard 'build.zig.zon' file generated by 'zig init' in Zig 0.14.0 ( #4827 )
vor 4 Monaten
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
vor 4 Monaten
zewenn
590f793755
Update build.zig.zon to use the new zig v0.14 version ( #4819 )
vor 4 Monaten
Kaluub
9ba0cdbe6d
Fix GetCurrentMonitor comments. ( #4812 )
vor 4 Monaten
Ashish Bhattarai
f1385f3aec
Fix stb_truetype composite glyph scaling logic ( #4811 )
vor 4 Monaten