Bigfoot71
0b713cdfba
small optimizations / tweaks
1 miesiąc temu
Bigfoot71
a1b2ecbded
add clear buffer bitmasks
1 miesiąc temu
Bigfoot71
ff1849dc97
fixes and tweaks
1 miesiąc temu
Bigfoot71
804240966a
impl color blending
1 miesiąc temu
Bigfoot71
5f92a0fcd0
impl face culling
1 miesiąc temu
Bigfoot71
dcd60be477
impl line clipping and rasterization
+ tweak function names
1 miesiąc temu
Bigfoot71
b70f02fdf2
apply perspective correction to colors
1 miesiąc temu
Bigfoot71
f305490c33
branchless float saturation
1 miesiąc temu
Bigfoot71
8aed39ff49
implement state support
Also replace the triangle rasterization functions with macros that generate specific functions for each state of the rendering system.
Also, add the OpenGL definitions in order to add a binding for rlgl.
1 miesiąc temu
Bigfoot71
7d36568eeb
add base of rlsw.h
1 miesiąc temu
Ray
b80250bee4
Merge pull request #4807 from RicoP/RicoP/sinfl_bsr
[rcore] sinfl_bsr fix for TCC
1 miesiąc temu
Rico P
0934cdba48
fix C++ style cast
1 miesiąc temu
Rico P
7dc409d060
potential fix for MSVC compile error
1 miesiąc temu
Rico P
e7872a700d
update sinfl_bsr
1 miesiąc temu
Ray
7f8bf2233c
REVIEWED: Formating to follow raylib conventions
1 miesiąc temu
Ray
bd8e59f18d
Replace `size_t` by `unsigned int`
1 miesiąc temu
Ray
4c8c72778d
Remove trailing spaces
1 miesiąc temu
Ray
9c62a7823b
Update Makefile
1 miesiąc temu
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
1 miesiąc temu
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
1 miesiąc temu
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
1 miesiąc temu
David Vanderson
bbeade636c
build.zig.zon: update hashes ( #4826 )
1 miesiąc temu
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 )
1 miesiąc temu
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
1 miesiąc temu
zewenn
590f793755
Update build.zig.zon to use the new zig v0.14 version ( #4819 )
1 miesiąc temu
Kaluub
9ba0cdbe6d
Fix GetCurrentMonitor comments. ( #4812 )
1 miesiąc temu
Ashish Bhattarai
f1385f3aec
Fix stb_truetype composite glyph scaling logic ( #4811 )
1 miesiąc temu
Ray
cb3168a048
Wow! We surpassed the **8000** commits! AMAZING! :D
1 miesiąc temu
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
1 miesiąc temu
Rico P
539c45ee23
sinfl_bsr fix for TCC
1 miesiąc temu
Ray
b99c2848c1
Merge branch 'master' of https://github.com/raysan5/raylib
1 miesiąc temu
Ray
654131799e
Minor tweaks
1 miesiąc temu
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
1 miesiąc temu
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
1 miesiąc temu
Colleague Riley
e4dcdfa1f2
update RGFW to 1.6 ( #4795 )
1 miesiąc temu
Ray
e4993c5557
Merge branch 'master' of https://github.com/raysan5/raylib
1 miesiąc temu
Ray
557d071fa2
Reviewed shader loading message
1 miesiąc temu
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
1 miesiąc temu
Ray
da8a08006a
Added some comments on latest change
1 miesiąc temu
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
* Fix textures on draw mode switch
* formatting fix
* ident
1 miesiąc temu
Ray
e1ec595251
ADDED: Resource file to example projects #4790
1 miesiąc temu
Ray
0037ee5420
Merge branch 'master' of https://github.com/raysan5/raylib
1 miesiąc temu
Ray
256953957f
Update Makefile
1 miesiąc temu
Ray
a979b10966
Minor format tweak
1 miesiąc temu
Rico P
1e2fd94209
fix linkage warnings under windows ( #4766 )
1 miesiąc temu
Slendi
8edbd07b5e
Do not check GUI libs for DRM ( #4792 )
Signed-off-by: Slendi <slendi@socopon.com>
1 miesiąc temu
Ray
294da26042
Update raymath.h
1 miesiąc temu
Ray
fc5ff8db5c
Update raymath.h
1 miesiąc temu
Ray
a5907bfdca
REVIEWED: `MatrixDeterminant()` #4780
1 miesiąc temu
Mario Nachbaur
85a87baf69
Support `IsWindowHidden()` on web. ( #4789 )
1 miesiąc temu