Ray
5492f52adc
Change default threading model for COM objects
...
It shouldn't matter much but it could avoid some conflicts with other libraries in the future (like `tinyfiledialogs`).
2023-03-05 00:09:56 +01:00
Ray
1611cd54e7
REVIEWED: GetWindowHandle() #2938
2023-03-04 18:56:04 +01:00
Antonis Geralis
394b31faff
Add GL_MIN GL_MAX blending equations ( #2945 )
2023-02-26 12:01:42 +01:00
Ray
73c9f72c52
Update rtextures.c
2023-02-25 22:32:50 +01:00
Ray
7fd2bf1a32
Minimal tweak
2023-02-25 01:07:52 +01:00
Ray
215eb967e8
Update rcore.c
2023-02-24 18:31:16 +01:00
Ray
cb2ba3675c
REVIEWED: rlUnloadFramebuffer() #2937
2023-02-24 16:19:25 +01:00
Ray
ca98a84d68
Update rtext.c
2023-02-24 15:27:25 +01:00
Ray
d5a31168ce
REVIEWED: Data validation
2023-02-23 18:08:15 +01:00
Ray
d652b95fbf
ADDED: Security checks
2023-02-22 17:28:25 +01:00
Ray
153470d605
REVIEWED: GenMeshTangents(), avoid crash on missing texcoords data #2927
2023-02-21 23:55:55 +01:00
Ray
b4d824d6fc
REVIEWED: GetMonitorWidth() and GetMonitorHeight() #2934
2023-02-21 23:10:03 +01:00
Ray
8169d0eab2
REVIEWED: IsWindowFocused() to consider Android App state #2935
2023-02-21 23:01:23 +01:00
Ray
b2926b2d28
Update rtextures.c
2023-02-21 13:20:52 +01:00
Ray
3cade2a1a0
REVIEWED: IsImageReady() and IsTexureReady()
...
Reordered some functions to avoid config.h issues when disabling some features.
2023-02-21 13:20:04 +01:00
Ray
bcae065c88
REVIEWED: IsShaderReady()
2023-02-21 13:15:11 +01:00
Ray
1347a15539
ADDED: SetWindowIcons() to set multiple icon image sizes
2023-02-21 13:14:51 +01:00
hkc
d26a56d4e1
Added mixed audio processor ( #2929 )
...
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
* [rtextures] Fixed scaling down in ImageTextEx
Closes #2755
* Added global audio processor
* Renamed struct member to follow naming conventions
* Added example for AttachAudioMixedProcessor
2023-02-20 11:13:24 +01:00
Ray
47dd842e81
Minor format tweaks
2023-02-15 18:11:46 +01:00
Ray
f594f14510
Reviewed typo and formating
2023-02-15 18:01:42 +01:00
Ray
2766835ed4
REPLACE: TABS by 4 spaces
2023-02-15 17:36:31 +01:00
Jeffery Myers
9eaed07b77
Make the oribital camera work like it used to (it is not just a copy of third person) ( #2926 )
2023-02-15 17:17:00 +01:00
Ray
beb44f1dac
Avoid centering mouse when program launches
2023-02-15 13:11:26 +01:00
Ray
903d85e323
Make sure window position always inits in the middle of the current monitor
2023-02-15 12:53:41 +01:00
Ray
5dedb27ce0
REVIEWED: Issue with camera jump on first frame
2023-02-14 22:51:34 +01:00
veins1
ec95aa2e04
Move camera after rotation ( #2923 )
...
Moving camera after rotation is set to avoid 1 frame delay in movement direction
2023-02-14 22:29:32 +01:00
Ray
e843be7ea5
ADDED: rcamera dependencies details
2023-02-14 20:13:13 +01:00
Ray
ea590c44a9
REVIEWED: Camera redesign PR
2023-02-14 20:00:51 +01:00
Crydsch Cube
73989a4981
WIP rcamera redesign vector ( #2563 )
...
* core functionality CAMERA_FREE
* fix example
* add remaining camera modes
* add view bobbing
* view bobbing
* catch curser in SetCameraMode
* adjust examples
* fix compilation on linux
* fix example text_draw_3d
* actually fix text_draw_3d
* Updated camera API
* Improve Vector3RotateByAxisAngle() function
* remove camera.mode dependency from low-level functions
* remove camera.mode from struct
* fixes after rebase
* adjust examples for new UpdateCamera function
* adjust example models_loading_m3d
---------
Co-authored-by: Ray <raysan5@gmail.com>
2023-02-14 17:47:21 +01:00
Ray
22287a78c5
Update qoa.h
2023-02-12 13:29:39 +01:00
Ray
96a9b4e1f2
REVIEWED: config.h format and inconsistencies
2023-02-12 13:28:35 +01:00
Ray
21961a786d
REVIEWED: Vertex colors support on M3D loading #2878
2023-02-12 12:10:01 +01:00
Ray
4647441ad8
Update rl_gputex.h
2023-02-12 01:10:54 +01:00
Julio C. Galindo
6ae21d6581
Fixed some grammar mistakes and typos. ( #2914 )
...
* Fixed some grammar mistakes.
* Fixed some typos.
2023-02-09 13:17:47 +01:00
Nikolas
f784961b9c
Enable GetWindowHandle() on macOS ( #2915 )
2023-02-07 22:18:14 +01:00
Ray
e187b693ea
Update raudio.c
2023-02-06 11:02:46 +01:00
star-tek-mb
04ab76b889
zig build: do not use deprecated functions ( #2913 )
2023-02-06 10:28:24 +01:00
Ray
1fea266472
Clean trailing spaces
2023-02-05 16:30:23 +01:00
Ray
c91190fc6e
Review QOA sound loading -WIP-
2023-02-05 16:28:04 +01:00
star-tek-mb
ff70a04bf5
update zig build to latest master ( #2910 )
...
also, adds package manager support
2023-02-05 13:03:03 +01:00
Ray
60d0ab418a
some typos review
2023-02-05 11:44:12 +01:00
HKrogstie
8c50da167d
fix DrawMesh using SHADER_LOC_COLOR_SPECULAR as a material map ( #2908 ) ( #2909 )
2023-02-05 11:04:30 +01:00
Ray
589892af07
Support QOA audio format on ExportWave() -WIP-
2023-02-04 20:27:47 +01:00
Ray
901c4553d2
ADDED: QOA audio format support -WIP-
2023-02-04 20:20:21 +01:00
Ray
43e45cbb81
Replace TABS by 4 spaces
2023-02-04 20:19:51 +01:00
Ray
7914332c40
Update qoi.h
2023-02-03 14:54:28 +01:00
Ian McFarlane
b9e49cdca6
rcamera: move y clamp to before 3d projection ( #2905 )
2023-02-03 14:52:15 +01:00
Ray
d827a65e59
Update external libraries
...
Switch to official `stb_vorbis.c` instead of using an outdated fork
2023-02-01 11:45:42 +01:00
Ray
a151cbd37a
ADDED: Vector2LineAngle() #2887
...
REVIEWED: `Vector2Angle()`
2023-02-01 11:18:55 +01:00
Nikolas
89171a2608
Add WASM support for Zig build ( #2901 )
...
* Add WASM support for Zig build
* Improve Web example building
* Remove emscript example building with Zig again
* Readd windows emscripten variables
2023-02-01 11:09:03 +01:00
Ray
c94c666d04
Review formatting for M3D loading vertex colors
2023-01-30 17:05:12 +01:00
Uneven Prankster
929a46cbab
[models] Fix M3D vertex color import. ( #2878 )
...
* Fix vertex color import for .m3d
* Only load vertex colors when color map and/or materials are present
* Only execute when color array is present
---------
Co-authored-by: Uneven Prankster <unevenprankster@pm.me>
2023-01-30 17:00:39 +01:00
Dor Shapira
df5a736c00
fix typo ( #2899 )
...
patrix=>matrix
2023-01-28 19:26:41 +01:00
Rob Loach
7fff1ba0b0
ADDED: IsModelReady(), IsMaterialReady(), IsTextureReady(), IsRenderTextureReady() ( #2895 )
2023-01-28 12:13:09 +01:00
Rob Loach
83ff7b2466
ADDED: IsShaderReady(), IsImageReady(), IsFontReady(), IsWaveReady(), IsSoundReady(), IsMusicReady() ( #2892 )
...
These IsReady() functions provide a method in order to verify whether or not the object was loaded successfully. They're useful to make sure the assets are there prior to using them.
2023-01-27 19:24:03 +01:00
Jeffery Myers
81ca2f0bf3
Fix warnings and bad project settings for 4.5 release ( #2894 )
2023-01-27 19:20:42 +01:00
Ray
0125790801
Update rmodels.c
2023-01-25 23:13:17 +01:00
Jeffery Myers
63da7cdec6
add include guards on config.h ( #2888 )
2023-01-25 22:26:03 +01:00
Antonis Geralis
4adba0d3c3
Add wayland support ( #2883 )
2023-01-25 22:25:25 +01:00
Dor Shapira
7cdffcec52
fixed typo ( #2886 )
...
pilepine=>pipeline
chosing=>choosing
additioanlly=>additionally
attachmment=>attachment
initialize=>inititialize
Binded=>Bound
lattest=>latest
hi @raysan5, I ran rlgl.h into some "typo checking" program(basically a JetBrains IDE), and here are all the things that the program was able to spot and fix. as my English isn't really well I would like it if you could check that I didn't make any mistakes in the typo fixing...
2023-01-24 23:43:09 +01:00
Ray
f68bb8c707
REVIEWED: rlGenTextureMipmaps(), GPU generation only
2023-01-24 17:17:25 +01:00
Ray
5149da5719
Merge branch 'master' of https://github.com/raysan5/raylib
2023-01-24 17:16:44 +01:00
Ray
5b3c5e1a16
REVIEWED: ProcessMaterialsOBJ() available when required
2023-01-24 17:16:35 +01:00
PencilAmazing
542ef8904a
[models] Load bone names from IQM file if available ( #2882 )
...
* Load bone names from IQM file if available
* Formatting and default bone name
2023-01-23 19:55:02 +01:00
Rob Loach
4706891cae
Add RAYLIB_VERSION numbers to raylib.h ( #2856 )
...
Ran into an issue in raylib-cpp where a user was using raylib 4.5-dev, even though the library currently only targets 4.2. With having RAYLIB_VERSION_MAJOR and RAYLIB_VERSION_MINOR, we will be able to target different versions of raylib in different ways, via C preprocessor conditionals.
For example:
``` c
newColor = ColorTint(BLUE, RED);
TraceLog(LOG_INFO, "The color should be tinted, but this isn't supported in ryalib <= 4.2");
```
2023-01-22 15:29:29 +01:00
Rob Loach
d8af76f67c
Fix to use TRACELOG() instead of TraceLog() for internal modules ( #2881 )
...
There were a few raylib modules that continued to use TraceLog() instead of the TRACELOG() macro. This change ensures that all the internal raylib modules use the TRACELOG() pattern consistently.
2023-01-22 11:10:38 +01:00
Ray
78ae3b38a6
minor format tweak
2023-01-21 19:31:47 +01:00
Antonis Geralis
e539aad118
Fix android sound issue #2118 ( #2875 )
2023-01-21 18:52:31 +01:00
Uneven Prankster
19715546b3
Stub out rlCubemapParameters if under GL 1.1. ( #2876 )
...
Co-authored-by: Uneven Prankster <unevenprankster@pm.me>
2023-01-21 18:51:33 +01:00
Jeffery Myers
c649bec26c
Have LoadMaterials call the same code that OBJ loader does so that we can read MTL files ( #2872 )
2023-01-20 16:13:19 +01:00
Jeffery Myers
edaca16d7c
Fix warnings in raylib project from MSVC ( #2871 )
2023-01-20 16:05:19 +01:00
Jeffery Myers
116603e61c
don't try to free a void* buffer as if it's a cgltf_data structure ( #2867 )
2023-01-19 21:21:05 +01:00
Uneven Prankster
76468bb8d8
Add rlCubemapParameters to rlgl.h ( #2862 )
...
Co-authored-by: Uneven Prankster <unevenprankster@pm.me>
2023-01-19 20:53:30 +01:00
Daijiro Fukuda
c6376acfc4
Set initial window position for display-sized fullscreen ( #2742 )
2023-01-10 12:45:53 +01:00
Ray
3028bffd4c
Minor tweaks
2023-01-10 12:38:21 +01:00
Go Watanabe
f549f67be9
OpenGLES 2.0 support on PLATFORM_DESKTOP ( #2840 )
...
* OpenGLES 2.0 support on PLATFORM_DESKTOP
* exmples raylib_opengl_interop desktop GLES2 support
* rename gles2.h -> glad_gles2.h
2023-01-10 12:34:06 +01:00
Ray
6dd1d2d931
ADDED: Required define on Linux #2729
2023-01-10 12:20:45 +01:00
Ray
bba6ae5622
RENAME: type to projection #2851
2023-01-10 12:16:42 +01:00
Ray
ce8000ee7e
REVIEWED: GetClipboardText() on PLATFORM_WEB
2023-01-04 20:13:44 +01:00
Ray
89755e52bf
REVIEWED: rLoadTextureDepth() fixed issue
2023-01-04 17:35:51 +01:00
Ray
73234d2a28
Avoid trying to setup uniform for invalid locations
2023-01-03 17:44:06 +01:00
Ray
d3c1a04983
REVIEWED: GLTF animations support #2844
2023-01-02 20:46:33 +01:00
Charles
f2e3d6eca7
[models] Add GLTF animation support ( #2844 )
...
* add GLTF animation support
* use correct index when allocating animVertices and animNormals
* early exit LoadModelAnimationsGLTF if the gtlf file fails to parse
* update models/models_loading_gltf.c to play gltf animation
Updated the .blend file to use weights rather than bone parents so it
fits into the framework. Exported with weights to the .glb file.
* fix order of operations for bone scale in UpdateModelAnimation
* minor doc cleanup and improvements
* fix formatting
* fix float formatting
* fix brace alignment and replace asserts with log messages
2023-01-02 20:23:48 +01:00
Ray
62f63f9e48
REVIEWED: Avoid possible gamepad index as -1 #2839
...
WARNING: It could require further review of `GamepadThread()` function where `js_event gamepadEvent.number` detecting current pressed button could generate a missmatch with index 0 (reserved for button unknow). Or maybe `0` could just be `GAMEPAD_BUTTON_NONE`? In that case, consistency with other inputs should be carefully considered...
2023-01-02 17:06:52 +01:00
Ray
0ccc1d3686
Update year to 2023
2023-01-01 19:07:58 +01:00
Ray
e2a8066fca
Update year to 2023
2023-01-01 16:07:51 +01:00
Ray
b59fab7ee6
Update year to 2023
2023-01-01 16:00:56 +01:00
Wytek01
713e26332f
Update year to 2023 ( #2846 )
...
* Update year to 2023
* Update raylib.h year to 2023
2023-01-01 12:55:49 +01:00
Ray
03cc540d5f
Minor tweak
2022-12-18 18:00:21 +01:00
Ray
d7f7c94c4d
REVIEWED: Vector2Angle()
2022-12-18 18:00:14 +01:00
Ray
72b9f3c5de
Minor tweaks
2022-12-17 12:15:19 +01:00
Antonis Geralis
d1a104bba4
Fix vector2angle ( #2832 )
...
* Fix vector2angle
* Fix ;
* use acosf
* need a break
* add comments
2022-12-17 12:13:40 +01:00
Ray
c2b56c583a
Merge branch 'master' of https://github.com/raysan5/raylib
2022-12-14 13:00:29 +01:00
Ray
619331f4a7
REVIEWED: Issue with depth textures on WebGL #2824
2022-12-14 12:57:39 +01:00
Alexander Heinrich
3419aef677
Fix Vector2Angle() ( #2829 )
...
With this fix the function still returns negative values, which is
wrong. But we keep this behaviour to maintain backwards compatibility.
2022-12-13 18:59:00 +01:00
Ray
2c9d116a5c
ADDED: ColorTint(), ColorContrast()
2022-12-07 12:52:42 +01:00
Ray
f1368c36dd
ADDED: ColorBrightness()
2022-12-05 00:24:55 +01:00
Ray
4de64f5750
Expose OpenGL blending mode factors and functions/equations
2022-12-04 13:22:37 +01:00
Ray
5b5dff3f9e
format tweak
2022-12-02 11:59:54 +01:00
Hristo Iliev
387c060006
Fix an issue when compiling for web ( #2820 )
...
It would try to use the glfw on the system but we're cross-compiling for web where the implementation is provided by emscripten's team
2022-11-30 10:36:01 +01:00
Ray
0b6d4b376f
REVIEWED: Image fileformat support: PIC, PNM
2022-11-29 17:28:23 +01:00
Ray
d241ee8516
ADDED: Optional support for PNM images (.ppm, .pgm)
2022-11-29 10:58:27 +01:00
Ray
2edf5a9584
REVIEWED: Issue with shader linkage
2022-11-29 10:45:10 +01:00
jtainer
50a716c0d9
Updated rcore.c, renamed 'time' to 'nanoSeconds' ( #2816 )
...
* Updated rcore.c, renamed 'time' to 'time_nsec'
When PLATFORM_ANDROID, PLATFORM_RPI or PLATFORM_DRM were defined, there is a compilation error to redefinition of the variable 'time', so the second instance of 'time' was changed to 'time_nsec' which both fixes the name collision and more accurately describes what that variable represents.
* Renamed 'time_nsec' to 'nanoSeconds'
2022-11-29 00:46:10 +01:00
Daijiro Fukuda
66a2cdee40
Fix array out of range ( #2814 )
...
This breaks other values of the struct.
2022-11-28 22:35:44 +01:00
Ray
fc5894e734
REVIEWED: Some compilation warnings (for strict rules)
2022-11-28 14:16:59 +01:00
Antonis Geralis
2fd6d7e8c0
Use const for pointer float array ( #2807 )
...
* Use const for pointer float array
* missed a definition
2022-11-24 00:58:56 +01:00
Antonis Geralis
2c77b31e30
Correct types for rlBindImageTexture ( #2808 )
2022-11-24 00:58:31 +01:00
Ray
c0010105c2
REVIEWED: UnloadDirectoryFiles()
2022-11-22 17:09:39 +01:00
Ray
f6558fe6e0
Minor tweaks
2022-11-22 01:02:54 +01:00
Ray
e6306e5e76
REVIEWED: rlCullFace() -> rlSetCullFace()
...
Reviewed formating to follow raylib coding conventions.
2022-11-15 12:34:01 +01:00
jtainer
2761aa40dd
Added function rlCullFace ( #2797 )
...
rlCullFace sets the face culling mode to RL_FRONT or RL_BACK which correspond to GL_FRONT and GL_BACK respectively.
2022-11-15 12:30:32 +01:00
Pere001
c8fd93d356
Warning on GetRandomValue range limit ( #2800 )
...
Added a comment explaining the range limitations of GetRandomValue.
Added a run-time warning TRACELOG when GetRandomValue is called with an invalid range.
2022-11-15 12:29:19 +01:00
Ray
fadc29d811
WARNING: REMOVED: DrawCubeTexture(), DrawCubeTextureRec()
...
Those two functions have been moved to a new example: `models_draw_cube_texture`. The reasons for this decision:
- Function inflexibility: Many users with the need to draw a textured cube could need to customize the texture applied to every face, that function did not allow that kind of functionality.
- rlgl functionality exposure: The implementation exposed will teach users how to implement custom textured triangles drawing.
2022-11-15 12:16:28 +01:00
Ray
025db8f227
Merge branch 'master' of https://github.com/raysan5/raylib
2022-11-10 12:03:26 +01:00
Ray
31edd13a72
Minor formating tweaks
2022-11-10 12:03:17 +01:00
Julianiolo
82e0644195
Fix Makefile emscripten path ( #2785 )
2022-11-10 11:51:51 +01:00
Ray
3888299bf5
WARNING: REMOVED: DrawTextureTiled()
...
This function implementation has been moved to the related example. Current implementation can be probably customized depending on user needs.
2022-11-10 10:17:37 +01:00
Ray
7f68c65406
WARNING: REMOVED: DrawTextureQuad()
...
This function can be easely replicated using `DrawtexturePro()` and actually it was doing some assumptions not transparent to the user. Even the function name was confusing. No example was available for it and actually noone requested one example.
2022-11-10 10:11:28 +01:00
Ray
84a2a88572
WARNING: REMOVED: DrawTexturePoly()
...
Function moved to `examples/textures/textures_polygon.c`, so users can learn from the implementation and create custom variants as required.
2022-11-10 10:05:11 +01:00
Martin Wickham
311a57f9fc
Add frameworks needed on macos ( #2793 )
2022-11-09 07:40:59 +01:00
Ray
ca6f58eed1
Update rcore.c
2022-11-05 00:31:13 +01:00
RGDTAB
dbdfad7ace
Fix ExportDataAsCode() data types ( #2787 )
2022-11-04 20:39:04 +01:00
Ray
28e8b2add3
REVIEWED: Issue with OpenURL()
2022-10-26 18:04:20 +02:00
nobytesgiven
c4abf68351
fixed blur issue on opaque pictures & added example ( #2775 )
...
Co-authored-by: nobytesgiven <nobytesgiven@users.noreply.github.com>
2022-10-26 09:11:14 +02:00
nobytesgiven
dbecb95024
Added Box and Gaussian blurring ( #2770 )
...
* Added Box and Gaussian blurring
* Removed dependence of gaussian blur to box blur & Fixed precision errors
Co-authored-by: nobytesgiven <nobytesgiven@users.noreply.github.com>
2022-10-25 17:56:06 +02:00
nobytesgiven
e5d332dea2
Fix bezier line breaking #2735 ( #2767 )
...
* Fixed bezier line breaking #2735
* converted tabs to spaces
* typo
* Changed doubles to floats
* removed heap allocations\
Co-authored-by: nobytesgiven <nobytesgiven@users.noreply.github.com>
2022-10-24 16:35:47 +02:00
Ray
d5cd5ebd80
Update to latest miniaudio (dev)
2022-10-24 13:37:20 +02:00
InKryption
40cf84e7e5
build.zig: let user decide how to set build mode + fix linker warning ( #2763 )
...
* build.zig: let user decide how to set build mode
This should delegate the responsibility of calling `standardReleaseOptions` and setting the build mode of the `*LibExeObjStep` step to the caller, especially since this might not be the process by which one wants to determine the build mode.
Also changes hides `getSrcDir` to enforce usage of `srcdir`, and asserts that the file is in fact inside a directory.
* build.zig: set root_src param to `null`
Supplying the header file as the root source here appears to cause a linker warning of the form:
```
LLD Link... warning(link): unexpected LLD stderr:
ld.lld: warning: {build_root}/zig-cache/o/{hash}/libraylib.a: archive member '{build_root}/zig-cache/o/{hash}/raylib.o' is neither ET_REL nor LLVM bitcode
```
Passing `null` instead fixes it.
2022-10-20 18:33:12 +02:00
ianband
7e7939e1ad
Add DrawCapsule(Wires) ( #2761 )
...
* Add DrawCapsule & DrawCapsuleWires
* Add DrawCapsule & DrawCapsuleWires to example
Co-authored-by: Ian Band <ian.r.band@gmail.com>
2022-10-17 11:36:53 +02:00
hkc
0b69bc28c6
Fix ImageTextEx and ImageDrawTextEx scaling ( #2756 )
...
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
* [rtextures] Fixed scaling down in ImageTextEx
Closes #2755
2022-10-14 17:43:12 +02:00
Ray
e61639f6fc
ADDED: GenImageText()
...
Probably useless but interesting for education. It generated a grayscale image directly from text data.
2022-10-14 10:51:43 +02:00
CrezyDud
aa67f7c39a
Fix & Simplify .vox signature check ( #2752 )
...
and make version check be only 150 not over 150
2022-10-12 17:14:18 +02:00
hkc
8ebe62b4dd
Use RL_QUADS/RL_TRIANGLES for single-pixel drawing ( #2750 )
...
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
2022-10-11 18:45:34 +02:00
Dor Shapira
8025b052b3
fixing typo ( #2748 )
2022-10-11 11:20:29 +02:00
Ray
38025362ee
Update version to raylib 4.5-dev to avoid confusions with 4.2
2022-10-07 16:22:44 +02:00
Ray
7a15861d44
Update rlgl.h
2022-10-06 00:56:18 +02:00
Ray
26969c2c38
Added BLEND_CUSTOM_SEPARATE #2741
2022-10-05 13:57:38 +02:00
Ray
25d846aa9a
Avoid early return calls
2022-10-05 13:34:19 +02:00
Ray
9017be3259
Reviewed latest PR formating and variables naming #2741
2022-10-05 13:29:34 +02:00
凌溢狐
2d88958d35
Add rlSetBlendFactorsSeparate and custom blend mode modification checks ( #2741 )
2022-10-05 13:05:44 +02:00
Ray
2e26cf48e8
Merge branch 'master' of https://github.com/raysan5/raylib
2022-10-03 00:07:34 +02:00
Ray
7459d906de
Update rtext.c
2022-10-03 00:07:22 +02:00
_Tradam
62d228346b
Update build.zig to work with last GLFW update ( #2737 )
2022-10-02 20:29:48 +02:00
veins1
2872b2fff5
Clear PCM buffer state when closing audio device ( #2736 )
...
Fix for #2714
2022-10-02 19:30:26 +02:00
Ray
33e7f7cc59
WARNING: DrawLineBezier() implementation needs review #2721
2022-10-02 11:11:13 +02:00
Rob Loach
0daaaddeef
Fix Gestures to use GetTime() if it's available ( #2733 )
2022-10-02 10:47:17 +02:00
Random
03f5fce672
removed glfwSetWindowPos on InitWindow ( #2732 )
...
* removed glfwSetWindowPos on InitWindow
* removed execute permission from CMakeLists
2022-10-02 10:46:33 +02:00
Ray
178a356cb4
minor tweaks
2022-09-30 23:07:29 +02:00
Random
f14955512f
fix issue #2728 ( #2731 )
...
* fix issue #2728
* updated gamecontrollerdb: fixes GLFW warning due to invalid entry
2022-09-30 10:09:49 +02:00
Ray
45da03df23
Reviewed monitor checking order
2022-09-29 12:00:20 +02:00
Ray
4fe6f885f7
Update gamepad mappings with latest gamecontrollerdb, fix #2725
2022-09-29 11:23:25 +02:00
Ray
357f782f4e
Merge branch 'master' of https://github.com/raysan5/raylib
2022-09-29 11:08:02 +02:00
Ray
0ced04f0df
Fix #2722
2022-09-29 11:08:00 +02:00
Dor Shapira
587e61def9
fixing new typoes ( #2727 )
2022-09-28 20:04:59 +02:00
Dor Shapira
5c404c79da
Update raylib.h ( #2726 )
2022-09-28 20:04:41 +02:00
Michael Scherbakow
8f88c61bdf
update build.zig ( #2720 )
...
zig `master` now enforces to use addIncludePath instead of addIncludeDir
2022-09-27 01:27:22 +02:00
bXi
e9ca38fafa
Clarified working of ImageDrawCircle and ImageDrawCircleV ( #2719 )
2022-09-26 12:24:10 +02:00
Ray
7ab056b6ef
REVIEWED: GeneshHeightmap(), fix #2716
2022-09-25 15:41:49 +02:00
Ray
2ef0b064e5
Fix isssue #2718
2022-09-25 14:09:28 +02:00
Ray
ea87491a82
ADDED: Support CAPS/NUM lock keys registering if locked
2022-09-25 00:14:59 +02:00
Ray
810a0330ab
WARNING: Several changes on UTF-8/Codepoints API
...
- ADDED: `GetCodepointPrevious()`
- RENAMED: `GetCodepoint()` -> `GetCodepointNext()`, actually, reimplemented
- `GetCodepoint()` has been kept for the moment, for compatibility and also because implementation is different
- RENAMED: `TextCodepointsToUTF8()` to `LoadUTF8()`, simpler name and more aligned with raylib conventions (functions loading memory start with Load*()), parameters should be descriptive of functionailty.
- ADDED: `UnloadUTF8()`, aligned with `LoadUTF8()` to avoid allocators issues.
2022-09-22 20:35:55 +02:00
Ray
4b1d4b4f6b
Update rcore.c
2022-09-22 20:30:02 +02:00
Ray
4311ffc9e1
REVIEWED: New functions coding conventions
2022-09-19 18:47:16 +02:00
Rob Loach
2093fdcc53
Added: ImageDrawCircleLines, ImageDrawCircleLinesV ( #2713 )
...
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
2022-09-19 18:41:17 +02:00
Ray
5530a3ceb8
REVIEWED: ScanDirectoryFilesRecursively(), fix #2704
2022-09-19 18:20:36 +02:00
Ray
6e8f3b0f45
Update rlgl.h
2022-09-19 10:35:34 +02:00
Ray
12e8cef9cf
REMOVED: Mipmaps software generation for OpenGL 1.1
...
As generation is done in software, it's up to the user to do it. `ImageMipmaps()` is already provided for reference.
2022-09-19 10:31:55 +02:00
Denis Pobedrya
27781a4767
Remove touch points on touch up events on Android ( #2711 )
...
Fixes #2683
Remove elements from touch point related arrays when touch up and
similar events are processed. This makes GetTouchPointCount() always
report the actual count of touch points, and all positions returned by
GetTouchPosition() correspond to positions of currently happening
touches.
2022-09-18 23:01:10 +02:00
Nikolas
42ecd72547
[rlgl] Check for extensions before enabling them ( #2706 )
...
* [rlgl] Check for extensions before enabling them
* Shift to glad on macOS
* #undef CORE_OPENGL_33
* Remove version hack and fix ASTC compression assumption
* Remove loader from glad
* Use GLAD_MALLOC/FREE instead of malloc/free
* More explicit extension checking
2022-09-18 21:08:51 +02:00
Denis Pobedrya
8f597b3cc3
Basic gamepad support for Android ( #2709 )
...
Currently assumes a single gamepad, has no code specific to gamepad
detection (gamepad is "detected" when an event related to gamepad
arrives). Also assumes that all gamepads look roughly like an xbox/ps
controller. Both assumptions are not strictly true, but an
implementation like that probably covers 85% of usecases.
Also it doesn't update previousButtonState so functions
IsGamepadButtonPressed() and IsGamepadButtonReleased() don't work, but
they didn't work previously on Android anyway, and they are flaky on
desktop as they are now, so the mechanism for these two functions
probably should be reworked anyway.
It's certainly an improvement compared to the previous android gamepad
handling code, which put gamepad events into touch related structs.
2022-09-18 19:58:52 +02:00
Denis Pobedrya
ff25402f68
Fix viewport scaling bug on android after context rebind ( #2703 )
...
On android after rebinding context (which happens when you minimize and
navigate back to an app, or when you turn a screen off and back on)
there's a bug that viewport has a wrong scale and part of it is off
screen.
The change fixes it on devices I tried, but the solution feels hacky to
me. However when I attempted instead to call SetupViewport() again which
feels like a more proper solution, it didn't fix it.
2022-09-18 11:28:55 +02:00
Denis Pobedrya
8e57c8ace3
Fix touchscreen input related functions on Android ( #2702 )
...
Fix display -> screen coordinate conversion for android platform and
move it to the platform event handling code, simplifying
GetTouchPosition() function implementation.
Co-authored-by: Denis Pobedrya <denis.pobedrya@gmail.com>
2022-09-17 23:15:11 +02:00
Ray
c328f09efc
Move compressed textures loading to a separate self-contained library
2022-09-17 19:26:23 +02:00
Ray
cb9b8f73c0
ADDED: GenImagePerlinNoise()
2022-09-17 13:39:49 +02:00
Nikolas
a12ddacb7b
Enable DXT compression on __APPLE__ targets ( #2694 )
2022-09-12 12:21:41 +02:00
Ray
853c66baed
REVIEWED: CheckCollisionPointPoly()
2022-09-10 23:56:52 +02:00
Ray
cf24c021a3
WARNING: BREAKING: Reviewed SSBO usage to avoid long long
...
raylib library tries to avoid `long long` usage. Several SSBO functions have been reviewed (including some renames for consistency) to minimize `long long` type usage.
2022-09-09 00:26:47 +02:00
Ray
ac1ffbad1d
REVIEWED: Data type to unsigned
2022-09-07 00:39:38 +02:00
Ray
b09725fa84
REPLACED: rlVertex2i() by rlVertex2f()
2022-09-05 18:45:33 +02:00
Ray
e59442bfab
REMOVED: rlPushMatrix()/rlPopMatrix() from rshapes
...
This simplification will allow the usage of `rshapes` as STANDALONE mode in a future. Only a small set of `rlgl` functions are required and they can be "more" easely replaced if no `rlPushMatrix()`/`rlPopMatrix()` are involved.
More simplification planned for the future, maybe the textures dependencies.
2022-09-05 18:23:25 +02:00
Ray
9996e328cb
WARNING: BREAKING: Removed rlCheckRenderBatchLimit() requirement
...
Updated version to `rlgl 4.2`
2022-09-05 13:20:09 +02:00
Ray
ad5ffd78d6
REVIEWED: rlgl enums and comments
2022-09-05 11:15:28 +02:00
Ray
0917290e95
REVIEWED: M3D model loading #2688
2022-09-04 18:49:54 +02:00
Ray
f4b4054de5
REVIEWED: CheckCollisionPointPoly()
2022-09-04 10:45:01 +02:00
Jacek
aff98d7f2a
Check collision point polygon ( #2685 )
...
* Update raylib.h
* CheckCollisionPointPolygon()
* typo
2022-09-04 10:39:03 +02:00
Ray
082920eb80
WARNING: RENAMED exported symbol to raylib_version #2671
2022-09-02 21:35:08 +02:00
Ray
de968e3623
WARNING: RENAMED symbol raylibVersion to raylib_version
...
I want to note this is a special symbol exported
2022-09-02 21:32:58 +02:00
Ray
2a798d64a2
Export raylibVersion symbol. Fixes #2671
2022-09-02 21:28:19 +02:00
Ray
fb1037a241
ADDED: Complete support for M3D animations! #2648
2022-09-01 20:46:06 +02:00
Ray
64cca24526
ADDED: RL_TEXTURE_MIPMAP_BIAS_RATIO support to rlTextureParameters() for OpenGL 3.3 #2674
2022-09-01 11:18:22 +02:00
Ray
23cc39a265
Implemented latest .M3D improvements #2648
2022-09-01 10:27:16 +02:00
Ray
0c7ba773ec
Fixed issue with LoadIQM() #2676
2022-09-01 10:14:45 +02:00
Ray
7f5567eec0
Reviewed GLFW compilation requirements on Linux: _GNU_SOURCE
...
Reasons to NOT define `_GNU_SOURCE`:
- access to lots of nonstandard GNU/Linux extension functions
- access to traditional functions which were omitted from the POSIX standard (often for good reason, such as being replaced with better alternatives, or being tied to particular legacy implementations)
- access to low-level functions that cannot be portable, but that you sometimes need for implementing system utilities like mount, ifconfig, etc.
- broken behavior for lots of POSIX-specified functions, where the GNU folks disagreed with the standards committee on how the functions should behave and decided to do their own thing.
2022-08-28 15:48:12 +02:00
Ray
be2328f848
Update Makefile
2022-08-28 15:39:22 +02:00
Ray
568fe42cb1
Reviewed GLFW issue with ppoll() function
2022-08-28 15:37:09 +02:00
Ray
482dbfc52e
Avoid error on implicit-function-declaration
2022-08-28 15:28:57 +02:00
Ray
10ae54379a
Update posix_poll.c
2022-08-28 15:25:34 +02:00
Ray
2236197d49
Update rglfw.c
2022-08-28 15:20:16 +02:00
Ray
9e0e08cba4
WARNING: UPDATED GLFW to latest master branch!
...
WARNING: This could be a BREAKING CHANGE for some platforms! I'm afraid something could be wrong on `rglfw.c` module.
To be able to compile on Windows I had to modify `glfw/src/platform.c` line 74. I couldn't manage to compile without that change, help is welcome!
2022-08-28 14:16:51 +02:00
Ray
f66b1a3136
REVIEWED: Support M3D file loading #2648
2022-08-26 10:04:38 +02:00
Ray
ae745e4fa8
ADDED: -latomic library on Linux (only required for ARM32)
...
This linkage is only required for arm 32bit but I don't know how to detect that specific architecture in the Makefile...
2022-08-22 11:25:35 +02:00
Ray
e92bc8ca4e
REVIEWED: M3D implementation #2648
2022-08-22 11:11:05 +02:00
Rodrigo Escar
aa4111a3b2
Fix PATH for Web target ( #2647 )
2022-08-21 11:45:37 +02:00
Daijiro Fukuda
7bb8ffc29e
Win32: resolve some symbols re-definition of windows.h in glfw3native.h ( #2643 )
...
* Win32: resolve some symbols re-definition of windows.h in glfw3native.h
This reflects GLFW's fix: https://github.com/glfw/glfw/issues/1348
This enables to build with a external GLFW containing the
following fix:
* 05f6c13d11
Currently, glfw3native.h of the internal GLFW is customized at
2feea87b61
This fix is compatible with the current customized glfw3native.h.
This fix enables us to update it to the latest and remove the
customization.
* Win32: remove unneeded typedef
2022-08-21 11:44:16 +02:00
Ray
4ee5fdf619
ADDED: Support M3D model file format (meshes and materials) #2648
2022-08-20 14:01:54 +02:00
Ray
35c777ef2c
REVIEWED: Avoid crash on bad data provided
2022-08-18 15:11:23 +02:00
Ray
904c505125
minor tweak
2022-08-18 15:10:40 +02:00
Ray
2ad7967db8
REVIEW: Fix issue with external GLFW missing define #2638
2022-08-17 10:19:52 +02:00
Ray
bf2ad9df5f
P A I N
2022-08-13 22:42:38 +02:00
Ray
092b6f956e
WARNING: REVIEWED: rlCheckRenderBatchLimit()
2022-08-13 22:30:11 +02:00
Ray
48c7f65b77
minor tweaks
2022-08-13 22:28:47 +02:00
HarriP
e0b487c641
Fix string lacking null termination in IsFileExtension ( #2637 )
...
When file extension is longer or equal length compared to buffer holding lowercased string, strncpy does not null terminate the string.
Increased buffer size by 1 to ensure it will always be null-terminated, so that following strcmp does not read out of buffer bounds.
2022-08-13 17:36:29 +02:00
Dan Bechard
56072a631d
Fix Codepoint position truncation ( #2636 )
...
This truncation causes text that spans the zero coord boundary to round differently left or zero vs. right of zero, in turn causing letters to appear squished together. If you actually need the position to be an integer, you should instead `floorf()` the float, rather than doing an integer truncation, but I don't see any reason to convert it to an integer in the first place. Everything else in the equation is a float.
2022-08-13 11:18:57 +02:00
Ray
2c0071c851
Reviewed issue with negative key #2619
2022-08-07 19:19:18 +02:00
veins1
4b2357dc34
Can't alt-tab out of fullscreen window ( #2618 )
2022-08-06 18:42:52 +02:00
Ray
14990209ef
Added comments
2022-08-05 20:01:35 +02:00
veins1
d70e5cd26b
Small simplifications ( #2615 )
2022-08-05 12:16:49 +02:00
veins1
82b76149da
GetMusicTimePlayed bug fix ( #2614 )
...
GetMusicTimePlayed() was calculated using buffered frames, not played frames.
For example: calling LoadMusicStream->UpdateMusicStream->GetMusicTimePlayed would return non-zero value, even though no music was playing.
2022-08-05 08:36:59 +02:00
Ray
72b2d1335a
Update cgltf.h
2022-08-02 19:05:42 +02:00
Ray
d791c1cf64
Update miniaudio.h
2022-08-02 18:50:12 +02:00
Ray
94165a40b9
REMOVED: rmem library from raylib sources
...
Moved to own repo: https://github.com/raylib-extras/rmem
2022-08-02 18:50:08 +02:00
Ray
dd455c626e
Update rlgl.h
2022-08-02 18:33:00 +02:00
Ray
0ce8a8f360
Remove easings.h from raylib/src, moved to examples
2022-08-02 18:31:57 +02:00
Ray
df5514088e
REVIEWED: GetMouseWheelMove(), avoid move scaling on PLATFORM_WEB
...
Tested with latest emscripten 3.1.18
2022-08-02 18:07:44 +02:00
Ray
312fa64b88
Updated raylib resource data (32bit)
2022-08-02 18:06:00 +02:00
Ray
2a2c9e4da8
minor tweaks
2022-08-02 17:25:24 +02:00
Ray
d68ddda766
Added note for multi-threading web compilation
2022-08-02 09:59:12 +02:00
Ray
4492e64cb5
Update version
2022-08-02 09:27:13 +02:00
Ray
ed7548051b
Update version to 4.2
2022-08-02 09:21:03 +02:00
Ray
eb8d14e5b2
Update version to raylib 4.2
2022-08-02 00:36:59 +02:00
Ray
fd191a32ea
Remove trailing spaces
2022-08-02 00:36:31 +02:00
veins1
a6b3c8aa1e
Music doesn't stop looping fix ( #2605 )
...
This PR fixes a bug when music.looping is set to false but the music continues looping.
Also using proper functions to seek to start of an audio file.
Removed old comment.
2022-08-01 20:07:32 +02:00
Ray
2e5fc3d0c2
Avoid cleaning the front buffer to a specific color!
...
ISSUE: Front buffer and backbuffer have different clear colors, if no `ClearBackground()` is called by user, there is screen flickering on buffers swap.
It's up to the user to call `ClearBackground()` if desired
2022-08-01 10:05:40 +02:00
Ray
f596815973
Merge branch 'master' of https://github.com/raysan5/raylib
2022-08-01 09:57:29 +02:00
Ray
7853155f99
REMOVED: Config option: SUPPORT_MOUSE_CURSOR_POINT
2022-08-01 09:57:11 +02:00
BlueStag
f31e4ebb3d
Use American spelling of colourSpace ( #2604 )
2022-07-31 21:09:41 +02:00
veins1
0ef3e4c4d5
Audio looping fix ( #2579 )
...
* WAVs looping fix. But broke other formats looping
* Fix audio looping issue
* Follow raylib formatting
* Cast void* to char* to make MSVC compiler happy
Co-authored-by: Ray <raysan5@gmail.com>
2022-07-29 13:10:59 +02:00
Ray
e4229e1be7
Merge branch 'master' of https://github.com/raysan5/raylib
2022-07-29 12:01:26 +02:00
Ray
bb6b43b7cb
REVIEWED: GenImageFontAtlas() #2556
...
Just reviewed font atlas size estimation, now it considers `fontSize` instead of `chars[i].image.height`, increasing considerably the atlas size estimation.
2022-07-29 12:01:18 +02:00
Nikolay Krasheninnikov
52345fd883
[raymath] Rotation functions returns clockwise rotation matrix, #2595 ( #2599 )
...
Co-authored-by: Nikolai Krasheninnikov <nikolai.krasheninnikov@kronshtadt.ru>
2022-07-29 11:54:37 +02:00
Ray
241d6526b0
Some camera improvements #2563
...
Reviewed some camera functionality:
- Reviewed camera swinging (up-down movement)
- Reviewed camera tilting (left-right movement)
- Make movement independent of frame-rate
- removed unneeded variables
NOTE: Camera rotation has some speed issues on first person when fixed 60 fps are used: it moves too fast. Independent framerate movement is not properly implemented.
2022-07-29 10:04:12 +02:00
Ray
7b05444af8
Review comments and parameter names
2022-07-29 09:45:19 +02:00
Piotr Wierciński
024a803665
rtextures: Improve numerical stability of float multiplication ( #2596 )
...
Dimensions of Rectangle should be casted to int before multiplication,
otherwise there is a risk for underallocation/overallocation of memory.
2022-07-27 17:31:52 +02:00
Piotr Wierciński
5a2f25cc7c
rtextures: Fix ImageFromImage crash ( #2594 )
...
Height of the rectangle can be float, which
may lead to doing extra iteration of loop and
writing out of bounds.
2022-07-26 20:53:36 +02:00
Crydsch
00c7509454
add Vector3RotateByAxisAngle ( #2590 )
2022-07-26 14:27:28 +02:00
hitomi kirigri
64710e6030
fix QuaternionFromMatrix & QuaternionEquals ( #2591 )
...
Co-authored-by: kirigiri hitomi <chenjw@hiscene.com>
2022-07-26 14:25:31 +02:00
Ray
d78177d246
Update year
2022-07-25 00:52:10 +02:00
Ray
39d9d1da42
Update config.h
2022-07-25 00:48:15 +02:00
Julianiolo
6ed1ce0082
fixed build for cygwin ( #2588 )
2022-07-23 12:33:23 +02:00
George Linkovsky
b40696eab6
Fix Vector3ClampValue and Vector2ClampValue ( #2585 )
...
Co-authored-by: Timofffee <timofffee@gmail.com>
2022-07-20 14:46:11 +02:00
Jeffery Myers
e9029d3d00
[CORE] Fix Warnings ( #2582 )
...
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
2022-07-19 06:36:03 +02:00
Ray
49a534b5d4
Removed raudio.h from public header
2022-07-15 19:11:42 +02:00
Ray
cccea34c6f
Update raudio.c
2022-07-15 19:09:14 +02:00
Ray
8aa105fd5b
WARNING: REMOVED: raudio_standalone example
...
Moved to raudio library repo: https://github.com/raysan5/raudio
2022-07-15 19:05:05 +02:00
Ray
6c2c176a99
Added note
2022-07-15 18:53:08 +02:00
Ray
3ebfee5dbc
REVIEWED: UpdateMusicStream() #2228
...
Trying to implement proper looping, independently of frame rate.
2022-07-11 21:19:21 +02:00
Ray
0379b94b7a
Minor tweaks
2022-07-11 21:18:31 +02:00
Ray
b92573e711
Update raudio.c
2022-07-10 23:00:09 +02:00
Ray
2245500245
Added comment about buffer refill issue on looping #2228
2022-07-10 21:39:13 +02:00
Ray
066bd5be87
Reviewed formating
2022-07-10 21:38:33 +02:00
Ray
29a0f60778
REVIEWED: ImageResize() #2572
2022-07-10 21:12:34 +02:00
Ray
05dc300296
Remove unneded TABS
2022-07-09 19:36:33 +02:00
Audi Nugraha
d1aabb3957
Allow DLL creation using TCC ( #2569 )
...
* Fix Undefined Symbol `_ftelli64`
* Add files via upload
* Update raylib.h
* Update raylib.h
2022-07-09 19:33:18 +02:00
Richard Smith
f7e1550eea
Fix fat universal (arm64 + x86_64) macos Github Actions build ( #2567 )
...
* test if clang supports multiple targets
* didnt work, so trying lipo to join separate targets together
* add CUSTOM_LDFLAGS to try to fix arm64 mac dynamic build
* fix sym links
* try again to fix sym links
* auto extract raylib version numbers from makefile
* fix macos missing gnu grep
* dont use custom name for raylib dlls
2022-07-08 07:57:10 +02:00
Ray
7fb7591e4f
Update raylib.h
2022-07-05 13:27:07 +02:00
Ray
e722a8dbef
WARNING: BREAKING: REMOVED: *StorageValue() functions
...
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
2022-07-05 13:24:14 +02:00
Ray
e0f0a5f663
REMOVED: GenMeshBinormals(), actually, never implemented
2022-07-05 12:55:51 +02:00
Ray
cd53531050
Added some comments
2022-07-05 00:50:23 +02:00
Ray
c6c71fe73c
REVIEWED: DrawMesh() #2511
...
Disable color vertex attribute if not provided by mesh
2022-07-04 17:47:47 +02:00
Ray
f579a3a708
REVIEWED: DecompressData()
2022-07-03 11:11:50 +02:00
Ray
9be186624c
REVIEWED: DrawBillboard*()
2022-06-29 21:56:19 +02:00
Ray
61e691d94f
Remove unneeded rlPushMatrix()
2022-06-27 13:27:16 +02:00
Ray
da5d04061e
Updated PLATFORM_RPI info #2547
2022-06-25 12:10:28 +02:00
Ray
1211047e1c
Removed physac #2543
2022-06-24 11:09:12 +02:00
veclavtalica
63568721f9
fix: precision loss, discard unused ( #2541 )
2022-06-24 10:59:31 +02:00
Hanaxar
6f231ea9ac
Fix signedness in rlBindImageTexture ( #2539 )
...
rlGetGlTextureFormats was expecting unsigned int, corrected variables according to that.
2022-06-23 12:23:14 +02:00
Ray
371aa0fe7f
Update rlgl.h
2022-06-21 20:59:54 +02:00
Ray
5044ce9de3
Reviewed batch buffer overflow #2526
2022-06-21 20:28:50 +02:00
Ray
68c7cc0cc4
minor tweak
2022-06-21 19:53:28 +02:00
Dan Bechard
8bd3ecaa66
Share PCM streaming buffer to reduce dynamic allocations ( #2532 )
2022-06-21 19:26:21 +02:00
Ray
0afa79067b
Revert "Update rlgl.h"
...
This reverts commit 8fe6bfabbf .
2022-06-18 20:47:49 +02:00
Ray
5426262ae6
REVIEWED: IsFileExtension() #2530
...
Max file extension size set to 16
2022-06-18 20:44:15 +02:00
Ray
8fe6bfabbf
Update rlgl.h
2022-06-18 19:24:11 +02:00
Ray
6f3b2a7661
Update rlgl.h
2022-06-18 16:22:47 +02:00
Ray
c1d9489294
Update rcore.c
2022-06-18 16:22:42 +02:00
Ray
8d9c45a08a
tweak
2022-06-17 21:24:59 +02:00
Ray
d4f60f8303
REVIEWED: LoadDroppedFiles(), fixed issues
2022-06-17 12:06:58 +02:00
The Tophat Demon
a6e31cadbd
Changed ExportFontAsCode to use given font's padding. ( #2525 )
2022-06-17 00:12:21 +02:00
Roy Qu
0964353073
fix: round off error in ColorAlphaBlend ( #2524 )
2022-06-16 14:47:46 +02:00
Ray
309ad3e08b
REVIEWED: rlTextureParameters(), reset anisotropy level
2022-06-16 13:07:38 +02:00
Ray
7ed3d870fe
REVIEWED: rlGenTextureMipmaps(), removed filtering setup
2022-06-16 13:07:09 +02:00
Ray
2824aacd5d
Update rcore.c
2022-06-16 13:06:18 +02:00
Pijus
c392f0c16b
Add wrap ( #2522 )
...
* add wrap function
* fixed Wrap function wrapping wrong
2022-06-14 21:28:39 +02:00
Ray
377dcef9f4
Revert "add wrap function ( #2521 )"
...
This reverts commit 81157e4e72 .
2022-06-14 20:53:35 +02:00
Pijus
81157e4e72
add wrap function ( #2521 )
2022-06-14 19:12:37 +02:00
Ray
9998a86625
Update rcore.c
2022-06-12 22:56:24 +02:00
Ray
a2c56b5929
Update rmem.h
2022-06-12 21:22:01 +02:00
Ray
043fa4cba7
Removed extras directory
2022-06-12 21:13:46 +02:00
Ray
ad56a49da8
Reviewed latest PR
2022-06-12 20:51:31 +02:00
Steven Schveighoffer
e1e0bc4266
Add function to read both X and Y mouse scrolling from a trackpad ( #2517 )
...
(GetMouseWheelMoveV).
2022-06-12 17:30:07 +02:00
Ray
875601c4cc
REVIEWED: FilePathList, consider maximum capacity
2022-06-12 11:32:10 +02:00
Ray
b8f67c6285
WARNING: BREAKING: REDESIGNED: Filepath loading API
...
REDESIGNED: `LoadDirectoryFiles()`
ADDED: `LoadDirectoryFilesEx()`
REDESIGNED: `LoadDroppedFiles()`
ADDED: `IsPathFile()`
This BIG BREAKING change simplifies the functions and gives more control to the user:
- A new `struct FilePathList` has been added to avoid exposing complex pointers.
- User is responsible of memory loading/unloading
- Filepaths loading support recursive directories and file extension filters
2022-06-11 23:24:13 +02:00
Ray
b1c413237c
Update config.h
2022-06-11 20:44:47 +02:00
Ray
b9f617aaee
Update raylib.h
2022-06-11 18:13:15 +02:00
Ray
702f2bccfc
REVIEWED: Issue with MOUSE_PASSTROUGH #2516
2022-06-11 18:12:39 +02:00
Ray
b549baa6b7
New feature: support MOUSE_PASSTHROUGH #2516
2022-06-11 12:08:16 +02:00
Ray
4a6e8bb90b
Minor formattng tweak
2022-06-09 21:01:51 +02:00
gulrak
5e3ef42201
GetMonitorWidth()/GetMonitorHeight(): return current video resolution instead max available ( #2514 )
...
* GetMonitorWidth()/GetMonitorHeight(): current video resolution instead max available
* adapt header comment to reflect change
2022-06-09 21:00:04 +02:00
flashback-fx
8c55b40e9e
Unify busy waiting behavior across conditional compilation branches ( #2508 )
...
* Unify busy waiting behavior across conditional compilation branches
* Inline busy waiting code instead of using static function
2022-06-07 21:01:29 +02:00
Ray
dca23cb3ff
RENAMED: BLEND_ALPHA_PREMUL to BLEND_ALPHA_PREMULTIPLY
2022-06-07 18:46:14 +02:00
Ray
bf208decc0
REVIEWED: Compilation warnings
2022-06-07 10:04:24 +02:00
Ray
e6bc401c93
WARNING: RENAMED: GetDroppedFiles() to LoadDroppedFiles()
...
RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
2022-06-06 20:39:37 +02:00
Ray
ebbcc2ffce
WARNING: RENAMED: GetDirectoryFiles() to LoadDirectoryFiles()
...
RENAMED: `ClearDirectoryFiles()` to `UnloadDirectoryFiles()`
2022-06-06 20:30:24 +02:00
Ray
461cdda71e
Reviewed latest PR, variable name
2022-06-06 20:23:14 +02:00
flashback-fx
c11d30bafe
Change WaitTime argument from milliseconds to seconds ( #2506 )
2022-06-06 20:18:37 +02:00
Ray
609d92003b
WARNING: REMOVED raygui from raylib/src/extras
2022-06-06 11:11:39 +02:00
Ray
8da566d6e7
WARNING: Removed physac from raylib sources/examples
...
`physac` is available on its own repo
2022-06-06 11:00:06 +02:00
Ray
865a44adda
REVIEWED: Mouse device support on PLATFORM_DRM #2381
2022-06-05 11:34:23 +02:00
flashback-fx
cda89ebb58
Fix regression that was causing video stuttering ( #2503 )
2022-06-05 11:14:26 +02:00
Ray
6fccfc57a4
Minor tweak
2022-06-02 19:22:42 +02:00
Ray
a28dfbae9f
REVIEWED: Batch limits check #2489
2022-05-31 23:25:21 +02:00
Ray
d0318aac4a
REVIEWED: DrawBillboardPro() #2494
2022-05-30 20:30:16 +02:00
Ray
8294e04749
Correct typo
2022-05-29 18:23:48 +02:00
Ray
fe28aa7c9b
Review log messages
2022-05-29 17:39:10 +02:00
Ray
1f806b555d
ADDED: -latomic linkage, required by miniaudio on ARM 32bit #2452
2022-05-20 17:45:36 +02:00
gulrak
789e504069
use GetWindowScaleDPI to calculate size for rlReadScreenPixels in screenshot/recording ( #2446 )
2022-05-20 17:25:47 +02:00
Jonathan Poncelet
5bdd8f134f
Improved boolean definitions ( #2485 )
2022-05-19 21:21:09 +02:00
Ray
6259dc4121
Revert "UPDATE: DEFLATE algorithm"
...
This reverts commit d786af83fc .
2022-05-18 16:23:52 +02:00
Ray
d786af83fc
UPDATE: DEFLATE algorithm
2022-05-18 13:39:07 +02:00
Ray
5ecc289201
REVIEWED: Support OpneBSD for timming functions
2022-05-16 19:24:16 +02:00
Crydsch
020e903193
Fix lgtm warnings ( #2477 )
...
* Comparison is always true because finalSample >= 1
* Comparison is always false because keyCount >= 0
2022-05-14 15:02:29 +02:00
Ray
db16833d8c
ADDED: EnableEventWaiting() / DisableEventWaiting()
...
Events waiting can be enabled/disabled, it toggles event polling.
2022-05-12 16:51:46 +02:00
Ray
f3aac87422
Some minor tweaks
2022-05-12 16:35:28 +02:00
Rob Loach
c0275df820
Easings: Add function descriptions ( #2471 )
2022-05-12 14:48:51 +02:00
Crydsch
b2c2b5ee21
remove fps requirement for drm connector selection ( #2468 )
2022-05-09 17:12:38 +02:00
Ray
df3f64bfd2
Corrected typo
2022-05-07 18:04:34 +02:00
lazaray
bbc8d39185
Add support for truncating parser input ( #2464 )
...
* Add support for truncating parser input
* Remove RLAPI from implementations in rlgl.h
2022-05-06 20:18:39 +02:00
Daniel Nagy
19f88241ec
Flush stdout after trace messages ( #2465 )
...
This immediately shows log messages when stdout is not connected to a
tty.
2022-05-06 20:15:13 +02:00
Ray
ed29b4eedf
Update utils.c
2022-05-06 00:46:43 +02:00
Ray
d9a30b8480
ADDED: ExportDataAsCode()
2022-05-06 00:14:28 +02:00
Ray
ed2ab55034
Remove line ending spaces
2022-05-05 20:39:14 +02:00
Ray
666aa44a84
Reviewed some comments
2022-05-01 11:14:28 +02:00
Ray
f169530d8f
Update raylib.h
2022-04-29 17:52:22 +02:00
Ray
5c66cc1c9b
Update rcore.c
2022-04-28 17:38:52 +02:00
Leonardo Montagner
3580267479
Fix Issue #2441 ( #2442 )
...
Remove line that caused a memory leak
2022-04-26 12:25:39 +02:00
Ray
a7ce537d32
Check for mouse devices on PLATFORM_DRM
2022-04-26 09:30:20 +02:00
Ray
38a3523f59
REVIEWED: SwapScreenBuffers() for PLATFORM_DRM
...
Avoid calling `abort()`, `LOG_ERROR` already manages it. Code looks cleaner now.
2022-04-25 21:00:17 +02:00
Ray
bdfa256cea
Update rlgl.h
2022-04-25 19:35:23 +02:00
Ray
6e722d416b
Update rcore.c
2022-04-25 19:35:19 +02:00
Ray
e543922055
Review formatting
2022-04-24 17:58:51 +02:00
Juan Carlos González Amestoy
f2c7b0d3bf
- Fix issue #2371 ( #2437 )
2022-04-24 17:05:45 +02:00
Ray
74ca81338e
REDESIGNED: Set rlgl internal framebuffer #2420
2022-04-24 12:37:50 +02:00
Ray
dc553d1996
Update rlgl.h
2022-04-24 12:25:26 +02:00
Ray
f798ee2bc1
Update rlgl.h
2022-04-24 12:19:41 +02:00
Maiko Steeman
ccfac59c60
Fix for vr rendering not taking render target size into account ( #2424 )
2022-04-24 11:48:50 +02:00
Ray
e1ee4b1466
Reviewed MouseScrollCallback() #2371
2022-04-24 11:16:35 +02:00
Ray
d433de7efa
Initialize (reset) input global state #2360
2022-04-24 11:02:50 +02:00
Ray
233cf3970c
Removed bool type from raymath, it broke raylib
2022-04-24 00:38:11 +02:00
Ray
ff95f05386
Update rlgl.h
2022-04-24 00:29:15 +02:00
Ray
47d768c3d6
REVIEWED: ToggleFullscreen()
2022-04-23 23:40:56 +02:00
Ray
015a71fc40
Update raymath.h
2022-04-23 23:39:50 +02:00
Ray
be3ae71aec
Review new functions formatting
2022-04-23 23:24:13 +02:00
saccharineboi
52befa0815
Augment raymath.h with useful functions ( #2428 )
...
* Augment raymath.h with useful functions
* Rename Vector2ClampMagnitude and Vector3ClampMagnitude to Vector2ClampValue and Vector3ClampValue
* Remove Vector3{Up,Down,Left,Right,Forward,Backward}
2022-04-23 23:13:33 +02:00
Anilforextra
a5daee3812
Optimize Some Image Functions. ( #2429 )
2022-04-23 10:51:47 +02:00
Ray
f71cc53bc9
WARNING: RENAMED: some parameters from length to size
...
When referring to byte array SIZE, I find it more clear than length
2022-04-06 20:50:50 +02:00
Ray
1612ba63ab
ADDED: Audio stream processors support -WIP- #2212
...
This feature is still under consideration/testing and it doesn't work properly, at least the Delay Effect processor.
2022-03-30 20:13:02 +02:00
Ray
90fc7c0376
WARNING: BREAKING: REMOVED: GetRayCollisionModel() #2405
2022-03-30 20:11:22 +02:00
Satoshi Tanaka
5abb87a0d2
Fix QuaternionScale ( #2419 )
2022-03-30 19:53:44 +02:00
Ray
9c2d337e99
Update rtext.c
2022-03-29 18:11:33 +02:00
Ray
3bcb19e040
Merge branch 'master' of https://github.com/raysan5/raylib
2022-03-28 11:58:25 +02:00
Ray
cfe7823453
REMOVED: MatrixNormalize() #2412
2022-03-28 11:58:16 +02:00
Ray
c2c1c93041
Corrected typo
2022-03-26 10:42:46 +01:00
Ray
418a595b6f
Corrected typo
2022-03-25 15:39:32 +01:00
Ray
8e28872fe1
Rename audio callback
2022-03-25 10:19:40 +01:00
Ray
381236051f
ADDED: Audio stream input callback #2212 -WIP-
...
WARNING: This addition is based on a PR and it's still under review, not sure if it will be maintained in the future. In general, raylib tries to avoid callbacks usage mechanisms.
2022-03-24 20:49:11 +01:00
Ray
bcd84cd36d
Some code reviews -WIP-
2022-03-24 18:56:53 +01:00
Ray
22c17da4d7
Update to miniaudio 11.8
2022-03-24 18:22:09 +01:00
Ray
cb62cb675f
Minor tweaks const
2022-03-22 18:45:41 +01:00
Ray
0da7830745
REVIEWED: Avoid some float -> double promotions
2022-03-20 12:15:51 +01:00
Jeffery Myers
c65efecf0a
Verify there is enough space in the batch for the npatch geometry. ( #2401 )
2022-03-19 22:26:27 +01:00
João Távora
9ecbc465a9
Fix too many opening parens in src/rtextures.c ( #2398 )
...
This is a tiny change that makes code in src/rtextures.c "fold"
correctly in editors/IDE's by matching the number of opening
parenthesis to closing parenthesis. One of those editors is Emacs ;-)
2022-03-18 12:32:00 +01:00
Rodrigo Escar
9723489ccc
Implements OpenURL() for Android Platform ( #2396 )
2022-03-18 11:41:41 +01:00
Ray
d2119848ed
REVIEWED: OpenURL()
2022-03-14 15:31:37 +01:00
tixvage
3f01b8a93f
Fixed an issue in Makefile when using raygui and physac on unix systems ( #2384 )
...
* Fixed an issue when using raygui and physac on unix systems
hash "#" is single-line comment character in bash so echo ignores #include and #define
* tab fix
2022-03-12 21:30:54 +01:00
Ray
a5a098c97f
Remove space
2022-03-12 21:27:24 +01:00
Komari Spaghetti
8065504aba
Simplify build.zig to not require user to specify raylib path ( #2383 )
...
We can figure out the source file location based on the location of the
build.zig file. No need to require the library user to specify where
raylib is stored.
2022-03-11 19:04:24 +01:00
Anilforextra
cda1324e87
Vector2/Vector3: Add squared distance. ( #2376 )
2022-03-09 20:05:08 +01:00
megagrump
7584ce6f48
Increase atlas size guesstimate; print warnings if atlas size is too small ( #2365 )
2022-03-01 11:26:48 +01:00
Ray
7fa75cb24e
Removed memset()
2022-02-27 22:32:17 +01:00
Ray
ead8003044
Possible fix for #2360
2022-02-25 20:41:18 +01:00
Ray
6e9ec253c8
Support clipboard copy/paste on web
2022-02-20 22:07:52 +01:00
raysan5
937e7b3dd9
REVIEWED: Some functions input parametes that should be const
2022-02-20 20:35:28 +01:00
Antonis Geralis
68bad6986d
make const ( #2348 )
...
* make const
* make const
2022-02-20 20:12:55 +01:00
DavidLyhedDanielsson
761669272f
Fix free camera panning in the wrong direction ( #2347 )
2022-02-20 19:52:13 +01:00
raysan5
d4382f4a52
Removed trailing spaces
2022-02-18 20:30:46 +01:00
Antonis Geralis
963de06d08
follow style guide ( #2346 )
...
* follow style guide
* Update rmodels.c
2022-02-17 00:54:21 +01:00
raysan5
4f2bfc5476
Reviewed bug on FindNearestConnectorMode()
2022-02-15 19:38:28 +01:00
Jaedeok Kim
b54e9db764
Optimize Vector2Rotate() function ( #2340 )
2022-02-13 18:43:17 +01:00
megagrump
f40eed5adf
add premultiplied alpha blend mode ( #2342 )
2022-02-13 18:42:24 +01:00
Ray
4bc6e0d7de
Update rtext.c
2022-02-13 10:47:19 +01:00
Ray
9cf170e6e9
Reviewed makefile to use right shell on right platform
2022-02-13 10:47:09 +01:00
raysan5
8c9a0221a4
Update Makefile
2022-02-12 19:38:14 +01:00
raysan5
2f3fc41c33
Allow setting a custom PLATFORM_SHELL
2022-02-12 19:31:27 +01:00
raysan5
6ef6dbff2d
REVIEWED: PLATFORM_OS for PLATFORM_WEB
2022-02-12 19:08:31 +01:00
raysan5
d0008ae8cd
REVIEWED: Issue when compiling for PLATFORM_WEB
2022-02-12 18:06:21 +01:00
Peter0x44
dd15531e25
Properly fix make clean under windows ( #2341 )
...
* Properly fix make clean under sh.exe
* Ensure make clean works properly under Windows if RAYLIB_RELEASE_PATH is modified
2022-02-12 17:59:48 +01:00
raysan5
ddba8478c5
Revert "Reviewed Makefile clean target to use CMD shell on Windows"
...
This reverts commit ab47c6401e .
2022-02-12 17:58:38 +01:00
raysan5
ab47c6401e
Reviewed Makefile clean target to use CMD shell on Windows
...
Tested on the following environments:
- w64devkit.exe
- Windows 10 cmd
- Notepad++ NppExec console
2022-02-12 17:37:12 +01:00
Peter0x44
81cced4d83
Fix make clean target failing when shell is not cmd ( #2338 )
...
GNU make on Windows first tries to find sh.exe on the path,
and will execute build rules using it if it is present.
The make clean target uses the builtin cmd.exe command del, which
won't work under sh.exe
The reason this is not done for the entire Makefile is because it would
break cross-compilation of raylib.
2022-02-10 20:52:34 +01:00
Scribe of the Ziggurat
96452637d9
Add BSD support for zig builds ( #2332 )
...
- Adds a new OS clause to build.zig for the BSDs
- Tested on my FreeBSD box using https://github.com/Not-Nik/raylib-zig
- All demos build and render just fine. Nice !
2022-02-09 08:23:14 +01:00
locriacyber
1e436be51d
Make audio examples compile with external glfw on Linux ( #2329 )
2022-02-05 13:33:05 +01:00
Audi Nugraha
a0895f1a3c
Fix Undefined Symbol _ftelli64 ( #2319 )
2022-02-03 12:00:33 +01:00
megagrump
c54d9cd552
simplify QuaternionInvert ( #2324 )
2022-01-31 09:39:21 +01:00
raysan5
44d3cee5d1
Minor tweak
2022-01-28 21:25:40 +01:00
Ray
d38fe92c3f
RENAMED: GetFileSize() to GetFileLength()
...
`GetFileSize()` conflicts with the infamous `windows.h`
2022-01-28 00:23:28 +01:00
raysan5
0f00c41aad
ADDED: GetFileSize()
2022-01-27 14:07:05 +01:00
raysan5
524bf57b74
Update qoi.h
2022-01-26 16:33:38 +01:00
Siddharth Roy
e5ee69a0f5
Add DrawTextCodepoints ( #2308 )
...
* Add DrawTextCodepoints
* Fixed top comment
2022-01-26 12:55:34 +01:00
Ray
76b6efc827
Support export .jpeg files
2022-01-26 11:30:38 +01:00
raysan5
ebdc34a20e
Update minshell.html
2022-01-25 14:04:55 +01:00
Ray
b422e407e8
Update rtextures.c
2022-01-22 18:42:44 +01:00
Nikolas
5b8b24c0c5
Fix GetApplicationDirectory on macOS ( #2304 )
...
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
2022-01-22 17:25:53 +01:00
Roy Qu
45ef46c5e8
fix: material color won't be loaded if there's no texture for that material ( #2298 )
2022-01-21 12:52:07 +01:00
Laurentino Luna
3c359ff4bc
Review code conventions for specific defines for GetApplicationDirectory() ( #2293 )
...
Unless these imports require to have this format, the code has been adjusted to the conventions
2022-01-18 18:30:19 +01:00
Jeffery Myers
bec27a6ebc
[CORE] Fixes for GetApplicationDirectory on 32 bit windows builds ( #2290 )
...
* Fix a signature error with the windows calls in GetApplicationDirectory for 32 bit builds.
* break is better than loop var to -1
2022-01-17 18:05:48 +01:00
raysan5
15b36e04b2
Review formating
2022-01-16 17:16:04 +01:00
ptarabbia
5ac07122bd
Add panning to raudio and update audio_raw_stream example. ( #2205 )
...
* Add panning to raudio and update audio_raw_stream example.
* remove pan smoothing, code formatting changes following pull request comments
Co-authored-by: Ray <raysan5@gmail.com>
2022-01-16 12:49:58 +01:00
Ray
48a463cca8
REVIEWED: Vector2Transform(()
2022-01-15 22:19:48 +01:00
Ray
8ee0eb8f36
ADDED: Vector2Transform()
2022-01-15 22:12:58 +01:00
Jeffery Myers
f4dea6919a
[CORE] Bug and formating fixes for GetApplicatonDir ( #2285 )
...
* Fix formating problems with GetApplicationDir.
Don't ever return an empty string
* always return a valid path even if it's ./
* remove the need for the dll and just use the normal GetModuleFileName function
2022-01-14 20:16:25 +01:00
raysan5
f57727995a
REVIEWED: rlLoadShaderCode()
2022-01-13 19:05:45 +01:00
Matthew Owens
e621efe79f
rlLoadShaderCode - set ShaderId variables to RLGL.State.default[VF]ShaderId if repesctive Code is NULL ( #2281 )
2022-01-13 18:42:44 +01:00
Ray
464026f15c
Update rcore.c
2022-01-12 12:00:47 +01:00
Ray
b61c9afd04
Update Makefile, simplified
2022-01-11 11:57:26 +01:00
Ray
cabb5518e5
Improve Makefile organization
2022-01-11 11:20:04 +01:00
hartmannathan
aaf0175d07
Fix typo in comment: s/simluate/simulate/ ( #2277 )
2022-01-11 09:04:09 +01:00
Ray
8db56cfc3b
Added minimal web shell
2022-01-10 22:31:30 +01:00
Ray
b4e0ed6007
Review formating
2022-01-10 13:54:51 +01:00
Nikolas
a6aa5a1e4c
Make zig build functionality available to zig programs ( #2271 )
2022-01-08 22:13:44 +01:00
Ray
7a159664bc
Improved shader loading code
2022-01-08 20:12:03 +01:00
Ray
612c4ad1dc
Reviewed possible issue with shaders detaching
2022-01-08 19:55:14 +01:00
Jeffery Myers
fbf34f7c0d
[CORE] Add a function to return the application directory. ( #2256 )
...
* Add a function to return the application directory.
* CI fixes
2022-01-08 19:47:52 +01:00
Ray
2116a98745
ADDED: ExportFontAsCode()
2022-01-03 20:45:56 +01:00
Ray
62858e11f7
Review tracelogs
2022-01-03 20:45:19 +01:00
Gerber Lóránt Viktor
ba1e91b4d7
Change comment about custom blend modes in rlgl.h ( #2260 )
2022-01-02 22:50:39 +01:00
Ray
7eb341ccaf
WARNING: REVIEWED: A big bug with GetMouseWheelMove()
2022-01-01 17:49:07 +01:00
raysan5
a940f41b4b
Update year to 2022
2021-12-31 20:06:22 +01:00
raysan5
bb875b1db7
Update rcore.c
2021-12-31 18:18:27 +01:00
raysan5
8f2d9838a3
Reviewed fullscreen switch on PLATFORM_WEB
...
The previous implementation somewhat break the expected behaviour for games and examples when pressing the `Fullscreen` button in the provided `shell.html`.
Just reverted for the moment for further investigation.
2021-12-31 17:46:31 +01:00