Ray
b9446863d7
REXM: RENAMED: `core_high_dpi` --> `core_highdpi_demo`
1 kuukausi sitten
Ray
13f9112d8c
Update rcore_desktop_sdl.c
1 kuukausi sitten
Ray
f16fb065ea
Update rcore_template.c
1 kuukausi sitten
Ray
66392fe0ae
REVIEWED: `rlGetPixelDataSize()`, correct compressed data size calculation per blocks #5416
1 kuukausi sitten
Ray
720dd22491
REVIEWED: `rlLoadTexture()`, un complete texture do to issue on mipmap loading #5416
1 kuukausi sitten
Ray
ca578b8b08
Update raylib.sln
1 kuukausi sitten
Ray
4b760091da
REVIEWED: Window scaling with HighDPI on macOS #5059
1 kuukausi sitten
Ray
6d562e5e87
REVIEWED: HiggDPI content scaling on changing monitors with different DPI #5335 #5356
Note that high-dpi awareness must be enabled by users and `CORE.Window.render` reports the scaled framebuffer size, while `CORE.Window.screen` reports the logical size.
`ToggleBorderlessWindow()` has also been reviewed to be consistent with scaling, if monitor physical display size is reported as 1920x1080 but there is a content scale of 1.5, then the borderless fullscreen window will be 1280x720, with the 1920x1080 framebuffer
1 kuukausi sitten
Ray
7553e9d586
REVIEWED: Gamepads on latest `SDL2 2.32.8` and `SDL3 3.3.6` #5403
1 kuukausi sitten
Ray
80ad96acc2
Fix #5413
1 kuukausi sitten
Ray
7a5e8aa3a5
Update rcore_android.c
1 kuukausi sitten
caszu
1c94e94873
[rcore] Implement `FLAG_WINDOW_ALWAYS_RUN` on Android ( #5414 )
1 kuukausi sitten
dtasada
33adda1983
fixed build errors with zig. now compatible with zig master 0.16.0-dev.1593+c13857e50. still backwards compatible with 0.15.1 ( #5415 )
1 kuukausi sitten
Ray
f031b2f4f4
Alignment with other platform backends, avoid unneeded includes
1 kuukausi sitten
Ray
1c7240a01d
Revert "REVIEWED: Alignment with other platforms"
This reverts commit cf0d6fc664 .
1 kuukausi sitten
Ray
cf0d6fc664
REVIEWED: Alignment with other platforms
1 kuukausi sitten
Ray
615fc36eeb
Fix #5406
1 kuukausi sitten
Ray
cbe31759ab
Fix #5405
1 kuukausi sitten
RANDRIA Luca
d74556d35c
Modify text_words_alignment.c ( #5411 )
1 kuukausi sitten
ALONZO Robin
8d246fdaff
Fix EXTERNAL_CONFIG_FLAGS being defined even when no custom config is used when building with zig ( #5410 )
1 kuukausi sitten
Ray
a0fd5ab1d9
Update rmodels.c
1 kuukausi sitten
Ray
9a337f3b3b
ADDED: Support software renderer on Web, blitting framebuffer data directly to a 2d canvas
This improvement is just a prove of concept, at this moment `PLATFORM_WEB` is limited in terms of software rendering by `GLFW` that only allows creating a WebGL canvas context with `glfwCreateWindow()`.
We can skip that call but then some GLFW functionality is not available (windowing, inputs). The best solution is replacing GLFW completely by a pure Emscripten implementation for `PLATFORM_WEB`.
1 kuukausi sitten
Ray
5025009860
REVIEWED: Make sure all variables are initialized on definition, prioritize one line per variable definitions
1 kuukausi sitten
Kaluub
6f5cabf60c
Fix misleading example text. ( #5409 )
1 kuukausi sitten
Ray
c96669e123
REVIEWED: Webpage reference comments starting with `REF:`, more consistent with `TODO:` and `NOTE:` comments
1 kuukausi sitten
Ray
9c04b1de82
REVIEWED: Store canvas name id at platform initialization
Useful to support multiple canvases running different wasm instances in same webpage
1 kuukausi sitten
Ray
b465b4e2ea
RENAMED: Variable names for consistency, `textLength` (length in bytes) vs `textSize` (measure in pixels)
1 kuukausi sitten
Ray
2853b28d6d
REVIEWED: Avoid program crash if GPU data is tried to be loaded before `InitWindow()` #4751
Following raylib design, a warning log message is shown and program can continue execution.
Some early return checks have been added on most critical functions.
[rtext] Previous implementation checking `isGpuReady` cross-module variable is not needed any more, resulting in a more decoupled code, load failure is managed at rlgl level
1 kuukausi sitten
Jordi Santonja
8fa5f1fe2c
[examples] Fixed `shaders_game_of_life` for web ( #5399 )
* [examples] Fixed `shaders_game_of_life` for web
* Fixed image loadig for rexm
1 kuukausi sitten
Jeffery Myers
6f7cd3a9ab
[core] Camera2d comment updates ( #5401 )
* Make the comments on the camera 2d fields more clear about what space each one is in.
* rlparser: update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 kuukausi sitten
github-actions[bot]
ae438e804e
rlparser: update raylib_api.* by CI
1 kuukausi sitten
Ray
2a566544d4
ADDED: Multiply security checks to avoid crashes on wrongly provided string data #4751
- REVIEWED: Checking `NULL` input on functions getting `const char *text`, to avoid crashes
- REVIEWED: `strcpy()` usage, prioritize `strncpy()` with limited copy to buffer size
- REPLACED: `strlen()` by `TextLength()` on [rtext] module
- REVIEWED: Replaced some early returns (but keeping others, for easier code following)
1 kuukausi sitten
Ray
71a35f661e
Update rexm.c
1 kuukausi sitten
Ray
2d8e346945
Update update_examples.yml
1 kuukausi sitten
Ray
f3f02b3e17
REXM: examples validation and update
1 kuukausi sitten
Ray
dad93abcf8
REXM: Ignore some warnings on GCC/Clang
1 kuukausi sitten
Ray
5e8118daf2
Update shaders_game_of_life.c
1 kuukausi sitten
Ray
bc2057345b
REVIEWED: `GetRandomValue()`, explained the new approach to get more uniform random values range
1 kuukausi sitten
Marcos De La Torre
f2a900a60d
[rcore] Fix modulo bias in `GetRandomValue()` ( #5392 )
* Fix modulo bias in GetRandomValue(); implement rejection sampling for uniformity
* Replace do-while with for-loop in GetRandomValue rejection sampling
1 kuukausi sitten
Ray
3adfde42f7
REVIEWED: `rlLoadTeexture()`, max mipmap levels to use #5400
1 kuukausi sitten
Ray
91ac3cc707
FIX: `LoadRandomSequence()`, using `GetRandomValue()` #5393
1 kuukausi sitten
Ray
19a1683641
REXM: Updated examples
1 kuukausi sitten
Gregory Mitchell
be6007be93
fix: sha1 computation on messages longer than 31 bytes ( #5397 )
1 kuukausi sitten
JordSant
efeccfef61
[examples] Add `textures_cellular_automata` ( #5395 )
* [examples] Add `textures_cellular_automata`
* Comparison always true. Fixed
* Tabs to spaces
1 kuukausi sitten
JordSant
366300aafe
[examples] Add `shaders_game_of_life` ( #5394 )
* [examples] Add `shaders_game_of_life`
* Declaration hides another variable same name
1 kuukausi sitten
Sebastian Pineda
215ad78d5b
Fix build.zig typos ( #5390 )
* fix small typo
* other small typos
1 kuukausi sitten
Ray
8115b7e922
Update rmodels.c
1 kuukausi sitten
BoneManSeth
fd8830948e
fix newer NDK version compiling errors ( #5389 )
target already gets assigned by the clang macro it points to, overwriting it causes it to target linux instead of android, making it check for usr directories instead of the NDK's directories
1 kuukausi sitten
Ray
f9899a7182
Reviewed code formating
1 kuukausi sitten
Jeffery Myers
561cc27403
[rModels] Support 16 bit vec3 values in gltf reader ( #5388 )
* Support 16 bit vec3 values coming from gltf
* Add support for 8 bit normals
1 kuukausi sitten