Merged
Conversation
* fix makefile * moving to LDPATHS * fix clean and ldlibs stuff
…s, to avoid dangling re-allocated pointers (#4439)
* (rcore_desktop_rgfw.c) fix errors when compiling with mingw * define WideCharToMultiByte * update RGFW * move stdcall def to windows only * fix raw cursor input * Fix warnings, update RGFW, fix msvc errors (make sure windows macro _WIN32 is correct)
…wRectangleRoundedGradientH` function (#4435) * [rshapes] Add function * "[shapes] rectangle advanced: fix screen width and height to fit with other examples"
… on other platforms (#4451)
When creating a new sphere mesh with high number of slices/rings the top and bottom parts of the generated sphere are removed. This happens because the triangles in those parts, due to high resolution, end up being very small and are removed as part of the 'par_shapes' library's optimization. Adding par_shapes_set_epsilon_degenerate_sphere(0.0); before generating the sphere mesh sets the threshold for removal of small triangles is removed and the sphere is returned to raylib correctly.
…nBones()` Still, not fully convinced of those functions naming, despite quite descriptive, sounds a bit confusing to me...
…in combinations of scale and rotation (#4461)
Not working but shader compiles and example runs... not sure if deferred rendering could be supported in OpenGL ES 2.0.
* update examples with difficulty stars * manual fix script issues * manual fix script issues
* Update examples inconsistencies * Happy new years, examples! * Missed one inconsistency * Update final few examples inconsistencies --------- Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
…e between SetShaderValue using sampler2d and SetShaderValueTexture is the automatic bind of the texture. (#4703)
…ot 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: raysan5/raylib#2994 Reference: nothings/stb#1738
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
…y (#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: raysan5/raylib#4717
* 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>
* [rtextures] Only build cubemap mipmaps when necessary * [rtextures] Assign correct mipmap count to cubemaps
… 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
…ues with an union (#4729) * Fix HalfToFloat() and FloatToHalf() dereferencing issues with an union * Remove unnecessary initialization * Moved the union to inside the functions
Cmake warn remove
Currently, a warning about _GNU_SOURCE being redefined is emitted when
compiling rglfw.c
In file included from rglfw.c:99:
external/glfw/src/posix_poll.c:27:9: warning: "_GNU_SOURCE" redefined
27 | #define _GNU_SOURCE
| ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
This can be avoided by not defining _GNU_SOURCE on the command line for
this file.
Defining feature test macros in source code is not really good practice
so this should probably reviewed in glfw itself, at least to maybe check
#ifdef _GNU_SOURCE first. But for now this change will suffice.
Fixes #4725
…(#4735) Should also have the benefit of being faster.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge raylib 5.5 changes