Ray
63e608d485
comment tweak
4 meses atrás
Ray
46cd07d2c7
WARNING: REVERTED CHANGE THAT BROKE BATCHING!!! #4849
I'm sorry... I did not detect this change was breaking batching... :(
4 meses atrás
Ray
266fba1111
Minor tweaks
4 meses atrás
Ray
add4da8fb3
Merge pull request #4845 from bamless/log-zoom
[examples] use logarithmic zoom scaling in 2d camera examples
4 meses atrás
Fabrizio Pietrucci
e140aca1b5
Increase zoom factor in `core_2d_camera.c`
This compensate for slower zoom speed due to log scaling
4 meses atrás
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
4 meses atrás
Ray
cd9206956c
Merge pull request #4843 from theundergroundsorcerer/DrawCircleSector-quickfix
Add early return when angles are equal in DrawCircleSector and DrawCircleSectorLine functions.
4 meses atrás
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.
4 meses atrás
Ray
2f63a15630
Merge pull request #4836 from JeffM2501/unscale_on_resize
[rcore] Correctly handle window size on resize in auto-scaled HIGHDPI environment
4 meses atrás
Jeffery Myers
d56ab670c3
spaces not tabs
4 meses atrás
Ray
bbbdd1f080
Merge pull request #4839 from aidonmaster/patch-1
Converting int to char
4 meses atrás
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
4 meses atrás
Ray
cb830bed72
Increased depth size and clip distances to avoid z-fighting issues
4 meses atrás
Ray
d0e638cc31
REVIEWED: Platform DRM messages...
4 meses atrás
Jeffery Myers
4bed3741c1
Unscale the window size on resize if we are doing automatic HighDPI scaling.
4 meses atrás
Ray
749a512f13
REVIEWED: `ScanDirectoryFiles*()` #4833
4 meses atrás
Ray
654d5c80c2
Merge pull request #4833 from MykBamberg/master
[rcore] Use snprintf to prevent buffer overflow in path construction
4 meses atrás
Ray
a0318e67aa
Merge pull request #4835 from NiamhNightglow/master
Guard against DEBUG Redefinition
4 meses atrás
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.
4 meses atrás
MykBamberg
daa2921476
[rcore] Use snprintf to prevent buffer overflow in path construction
4 meses atrás
Ray
b80250bee4
Merge pull request #4807 from RicoP/RicoP/sinfl_bsr
[rcore] sinfl_bsr fix for TCC
4 meses atrás
Rico P
0934cdba48
fix C++ style cast
4 meses atrás
Rico P
7dc409d060
potential fix for MSVC compile error
4 meses atrás
Rico P
e7872a700d
update sinfl_bsr
4 meses atrás
Ray
7f8bf2233c
REVIEWED: Formating to follow raylib conventions
4 meses atrás
Ray
bd8e59f18d
Replace `size_t` by `unsigned int`
4 meses atrás
Ray
4c8c72778d
Remove trailing spaces
4 meses atrás
Ray
9c62a7823b
Update Makefile
4 meses atrás
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
4 meses atrás
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
4 meses atrás
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
4 meses atrás
David Vanderson
bbeade636c
build.zig.zon: update hashes ( #4826 )
4 meses atrás
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 )
4 meses atrás
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
4 meses atrás
zewenn
590f793755
Update build.zig.zon to use the new zig v0.14 version ( #4819 )
4 meses atrás
Kaluub
9ba0cdbe6d
Fix GetCurrentMonitor comments. ( #4812 )
4 meses atrás
Ashish Bhattarai
f1385f3aec
Fix stb_truetype composite glyph scaling logic ( #4811 )
4 meses atrás
Ray
cb3168a048
Wow! We surpassed the **8000** commits! AMAZING! :D
4 meses atrás
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
4 meses atrás
Rico P
539c45ee23
sinfl_bsr fix for TCC
4 meses atrás
Ray
b99c2848c1
Merge branch 'master' of https://github.com/raysan5/raylib
4 meses atrás
Ray
654131799e
Minor tweaks
4 meses atrás
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
4 meses atrás
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
5 meses atrás
Colleague Riley
e4dcdfa1f2
update RGFW to 1.6 ( #4795 )
5 meses atrás
Ray
e4993c5557
Merge branch 'master' of https://github.com/raysan5/raylib
5 meses atrás
Ray
557d071fa2
Reviewed shader loading message
5 meses atrás
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
5 meses atrás
Ray
da8a08006a
Added some comments on latest change
5 meses atrás
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
* Fix textures on draw mode switch
* formatting fix
* ident
5 meses atrás