Uneven Prankster
8414d6e467
Added unsupported pixel format log warning
2 meses atrás
Uneven Prankster
c7f7fa97a2
Formatting changes
2 meses atrás
Uneven Prankster
b4583ce18c
Added RGB and RGBA image support to BMFont loader
2 meses atrás
Asdqwe
f6f31a9f21
[rtextures] Fix `HalfToFloat()` and `FloatToHalf()` dereferencing issues with an union ( #4729 )
* Fix HalfToFloat() and FloatToHalf() dereferencing issues with an union
* Remove unnecessary initialization
* Moved the union to inside the functions
2 meses atrás
Ray
53ea275b9c
Merge branch 'master' of https://github.com/raysan5/raylib
2 meses atrás
Ray
861ebafe62
Update shaders_mesh_instancing.c
2 meses atrás
Asdqwe
139de05e9d
[rcore] [SDL2] Fix gamepad event handling by adding joystick instance id tracking ( #4724 )
* Fix gamepad SDL_JOYDEVICEADDED and SDL_JOYDEVICEREMOVED event handling for PLATFORM_DESKTOP_SDL by adding joystick instance id tracking
* Fix gamepad button handling
2 meses atrás
Nikolas
49d37b035f
[rtexture] Cubemap mipmap loading improvements ( #4721 )
* [rtextures] Only build cubemap mipmaps when necessary
* [rtextures] Assign correct mipmap count to cubemaps
2 meses atrás
Anstro Pleuton
7bfc8e8ca7
[example] Add shaders_rounded_rectangle example ( #4719 )
* Add shaders_rounded_rectangle example
* Minor tweaks to example template (add star, more)
* Combine shaders
* Fix changes after review
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2 meses atrás
Ray
87f17538d0
Reviewed warning on shared library generation for web
2 meses atrás
sleeptightAnsiC
322ba54c08
Fix(WEB): Makefile: throw an error when trying to build SHARED library ( #4718 )
When asking Makefile to create SHARED library for WEB
$ make TARGET_PLATFORM=PLATFORM_WEB RAYLIB_LIBTYPE=SHARED
it would instead silently create STATIC library
thus not fulfilling the request as expected
This commit adds an error in this case and stops further execution.
This is not consistent with Cmake, because Cmake throws the warning and
does not stop, but Cmake can easily recover from this case and people
probably does not even notice it. However, Makefile is something that
you have to handle yourself and you have to recover from any issues so
having an error and aborting with exit code 1 is more expected.
Otherwise people may spend a lot of time debugging Makefile in order to
understand what's even going on.
Fixes: https://github.com/raysan5/raylib/issues/4717
2 meses atrás
Ray
2c50da9a6a
REVIEWED: -sASSERTIONS usage by linker #4717
2 meses atrás
Ray
d48b8afbb5
Update rcore_web.c
2 meses atrás
Anthony Carbajal
77c509db6e
removed hardcoded sleep ( #4713 )
2 meses atrás
Anstro Pleuton
773e3f5f9f
Update more examples inconsistencies ( #4711 )
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2 meses atrás
sleeptightAnsiC
10d0616d1f
fix(rtextures): TCC not being able to compile due to: 'emmintrin.h' not found ( #4707 )
define STBIR_NO_SIMD when __TINYC__ is defined so stb_image_resize2 will
not include *mmintrin which are not supported by all compilers.
There are similar checks for __TINYC__ already elswere in raylib
and they are also mostly there to disable SIMD headers.
Additionally, move similar check for stb_image, to be a little bit
deeper. Before it was defining STBI_NO_SIMD without including stb_image
It was also clashing with note, causing said note to make no sense.
Fixes: https://github.com/raysan5/raylib/discussions/2994
Reference: https://github.com/nothings/stb/issues/1738
2 meses atrás
github-actions[bot]
e70f9157bc
Update raylib_api.* by CI
2 meses atrás
Chris
09272e2e11
Updted the comment for SetShaderValueTexture to reflect the difference between SetShaderValue using sampler2d and SetShaderValueTexture is the automatic bind of the texture. ( #4703 )
2 meses atrás
Ray
a16e26a52a
Merge branch 'master' of https://github.com/raysan5/raylib
2 meses atrás
Ray
896ff68540
REVIEWED: Text functions usage notes #4704
2 meses atrás
Anstro Pleuton
945f181f1d
[examples] Update examples to be consistent ( #4699 )
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2 meses atrás
Ray
74256943a4
REVIEWED: `MAX_GAMEPAD_NAME_LENGTH` #4695
2 meses atrás
Auz
8575150747
Bump BINDINGS.md version number for Raylib.nelua ( #4698 )
2 meses atrás
Ray
0275d13aa8
Update README.md
2 meses atrás
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
2 meses atrás
Ray
7c7b087efb
REVIEWED: example: `shaders_deferred_render` -WIP-
Not working but shader compiles and example runs... not sure if deferred rendering could be supported in OpenGL ES 2.0.
2 meses atrás
Ray
313067d749
Update rlgl.h
2 meses atrás
Ray
94f261c6d7
Update rmodels.c
2 meses atrás
Ray
7b570bdfdd
Update models_point_rendering.c
2 meses atrás
Colleague Riley
6bf40eee4f
Update to RGFW 1.5 ( #4688 )
* 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
2 meses atrás
Eike Decker
5c1cce28a7
Using Module provided canvas id for event binding ( #4690 )
This change is replacing the hardcoded "#canvas" element references in
rcore_web to allow using canvas elements that use different names
(which is necessary when using multiple canvas elements on one page).
Also adding a cursor hiding example to mouse example.
2 meses atrás
Michael Kearns
35a9257d20
Update BINDINGS.md for official V language binding change ( #4691 )
The bindings from @EmmaTheMartian were moved to official status, so the link is updated.
The name was normalized to be consistent with other 'vendored' names in other languages.
2 meses atrás
Ray
cfbba79bd3
REVIEWED: example: `models_textures_tiling` shaders
2 meses atrás
Ray
fddfb58f85
REVIEWED: Potential shader issues
2 meses atrás
Ray
af163ba22a
REVIEWED: example: `shaders_julia_set`
2 meses atrás
tea☆
1cdf3bb791
[rshapes] Allow `DrawRectangleRounded()` to draw rectangles with a size < 1 ( #4683 )
Closes #4673
2 meses atrás
Ray
da5a868e2a
REMOVED: example: `core_gamepad_info`
2 meses atrás
Ray
2f6230e366
Formatting review and examples review
2 meses atrás
Ray
4bceddd4de
ADDED: example: `models_tesseract`
2 meses atrás
Ray
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
2 meses atrás
github-actions[bot]
43db59d1aa
Update raylib_api.* by CI
2 meses atrás
Ray
e227371265
REVIEWED: `TextJoin()`, convert `const char **` to `char**`
It generates multiple issues: https://c-faq.com/ansi/constmismatch.html
2 meses atrás
Ray
8e450e4446
Reviewed shaders formating to follow raylib coding conventions
2 meses atrás
Ray
49b905077d
remove trailing spaces
2 meses atrás
Ray
62d8969a56
Reviewed shader formating
2 meses atrás
Ray
2b2694a89f
Fix #4680
2 meses atrás
veins1
08b089f620
Reviewed shaders_deferred_render ( #4676 )
Fixed: g-buffer textures binding
Fixed: Clearing screen with white would leak onto g-buffer textures
Reviewed comments
2 meses atrás
Michael Kearns
34f431b422
Update xcode-frameworks dependency for latest zig ( #4675 )
* Update build.zig.zon for latest framework commit
* Update build.zig.zon with correct hash
* Update build.zig.zon with the 'really' correct hash
2 meses atrás
Hakunamawatta
43dbaf21e7
[examples] Fix broken link ( #4674 )
2 meses atrás
Le Juez Victor
eee86dd7c9
[build][CMake] Fix cmake configuration issue for Android ( #4671 )
* fix cmake configuration issue for Android
* review comment
2 meses atrás