Mingjie Shen
6280771dad
[rtext] Change strcpy to strncpy to fix buffer overflow ( #3795 )
1 год назад
Jeffery Myers
4cd71a9750
Fix warnings in raylib ( #3793 )
1 год назад
Ray
dd8b5613ca
REVIEWED: `DrawPixel()` not drawing
1 год назад
Ray
8ba7c61625
Update README.md
1 год назад
Ray
e52ae870f2
Reverted Makefile `GL_ENABLE_GET_PROC_ADDRESS` #3713
1 год назад
Ray
ea31bd47e5
REVIEWED: PLATFORM_WEB build flags, added GL_ENABLE_GET_PROC_ADDRESS
Reviewed flags formating
1 год назад
Danil
6a8cc62b67
Fix GetCameraRight ( #3784 )
1 год назад
Ray
e9291fa4c7
Update rtext.c
2 лет назад
Ray
c0c2e28c1b
Merge branch 'master' of https://github.com/raysan5/raylib
2 лет назад
Ray
615ee9d177
REVIEWED: `rlLoadFramebuffer()`
2 лет назад
Ray
cd8da72fea
Update rtext.c ( #3777 ) ( #3779 )
2 лет назад
github-actions[bot]
31ce1374e4
Update raylib_api.* by CI
2 лет назад
Ray
80580746e5
Reorder functions
2 лет назад
Ray
d34956b197
Merge branch 'master' of https://github.com/raysan5/raylib
2 лет назад
Ray
c31559101a
REVIEWED: `rlLoadFramebuffer()`, parameters not required
2 лет назад
github-actions[bot]
250d89b621
Update raylib_api.* by CI
2 лет назад
Luís Almeida
9a5dddc311
Added viewport independent raycast ( #3709 )
* added viewport independent raycast
* Renamed GetMouseRayEx to GetViewRay
2 лет назад
Ray
f033b30703
Review formating and some defines naming consistency
2 лет назад
oblerion
d91e9104aa
[rcore] Fix `GetFileNameWithoutExt()` ( #3771 )
* Update rcore.c
fix [rcore] GetFileNameWithoutExt
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
* Update rcore.c
2 лет назад
A
a96b224b38
Add gamepad support to PLATFORM_DESKTOP_SDL ( #3776 )
Co-authored-by: Arthur <hi@thenightwat.ch>
2 лет назад
Ray
868d515fbc
Update rtext.c
2 лет назад
Ray
eed56a45d6
REVIEWED: `LoadFontDataBDF()` name and formating
2 лет назад
Stanley Fuller
0932cd3059
[rtext] Add BDF font support ( #3735 )
* Add BDF font support
* Include font ascent in glyph y-offset when loading BDF font
2 лет назад
Brandon Baker
29ff658d92
Update BINDINGS.md ( #3774 )
Bump supported raylib version of Raylib-cs to 5.0
2 лет назад
IoIxD
7ec43022c1
Fix segfault in ExportWaveAsCode ( #3769 )
`char *txtData = (char *)RL_CALLOC(waveDataSize * 6 + 2000, sizeof(char));`
assumes every chunk being added to txtData is 6 bytes. This is not always true, sometimes a newline is involved and the data becomes 12 bytes instead, and this can cause a random segfault.
This commit changes `6` to `12`, and explains why in the comment.
2 лет назад
Marrony Neris
c0b081fac0
Fix MeasureTextEx() height calculation ( #3770 )
2 лет назад
Ray
25306eae42
REVIEWED: Issue on parsing #3765
2 лет назад
Ray
d79828076f
REVIEWED: macOS issues #3767
2 лет назад
Ray
deaffb0698
Review PR #3746 formating
2 лет назад
Jeffery Myers
bebf9547bd
[CORE,RLGL] Fix scale issues when ending a mode ( #3746 )
* Only restore GL scale back to screen scale if we are returning to a screen, not a render texture.
* blankspace
* reset back to default screen scale when ending a render texture since we are back on the default fbo
2 лет назад
Brian E
812645b077
cleaned away unused macros in rcamera.h ( #3762 )
2 лет назад
Alessandro Nikolaev
cf10cdd6b3
Added missing "standalone" functions to raudio.c & fixed return bug ( #3760 )
* Added GetFileNameWithoutExt, GetFileName & strprbrk to raudio.c
* Gave return values to SaveFileData & SaveFileText in raudio.c
2 лет назад
veins1
f4add5f10d
Fix rlSetUniformSampler ( #3759 )
Fix rlSetUniformSampler not setting sampler uniform if the same texture was already passed to a different sampler uniform
2 лет назад
Ray
40f3df5b86
Update core_2d_camera_platformer.c
2 лет назад
Victor Gallet
ff1eeafb95
Fix bug to retrieve material specular map in DrawMesh function, with incorrect index ( #3758 )
2 лет назад
Idir Carlos Aliane
cb97a8063d
[rtext.c] fixing some comments to align comments style ( #3756 )
2 лет назад
Idir Carlos Aliane
6f1c31b25d
Change some minor comments to align with comments style ( #3755 )
2 лет назад
Idir Carlos Aliane
c133fee286
[raymath.h] Small code refactor ( #3753 )
* [raymath.h] Small refactor to avoid duplicated code
* Fixing some blank spaces to match same syle convention
2 лет назад
Brian E
27645e16ab
fixed small typo, replaced `th` with `the` ( #3752 )
2 лет назад
Antonio Raúl
ef92ced370
fix CheckCollisionPointPoly ( #3750 )
2 лет назад
Idir Carlos Aliane
68c32a4184
Fix typo in HISTORY.md ( #3751 )
There is a typo where 'undoubtdly' appears instead of 'undoubtedly'.
2 лет назад
Alexandre Almeida
5c25913e09
Fix Android keycode translation and duplicate key constants ( #3733 )
* Fix Android keycode translation
* Simplify code a bit
* Rename KEYCODE_MAPPED_NUM to KEYCODE_MAP_SIZE
* Fix KEY_R and KEY_MENU duplicate
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 лет назад
John
192f7f1b29
[rcore rglfw] Feature Test Macros before include ( #3737 )
Move/Add Feature Test Macros before any includes.
See: [GNU Feature Test Macros](https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html )
> You should define these macros by using ‘#define’ preprocessor directives at the top of your source code files. These directives must come before any #include of a system header file. It is best to make them the very first thing in the file, preceded only by comments.
Alternative changes to rcore would be to change _POSIX_C_SOURCE to
200809L, which removes the need to define _XOPEN_SOURCE >= 500.
These changes allow for compilation with -std=c* (such as -std=c99)
without adding -D macros to the build step.
Co-authored-by: JayLCypher <jaylcypher@github.com>
2 лет назад
Hongyu Ouyang
0a8165c0ac
Make raylib/raygui work better on touchscreen ( #3728 )
* Fix that touch doesn't work for click/drag/raygui
* Add comments
* comments update
2 лет назад
Anand Swaroop
b600786c52
Update BINDINGS.md ( #3739 )
2 лет назад
Ray
c57b8d5a6a
REVIEWED: `ImageKernelConvolution()`, formating and warnings
2 лет назад
Blockguy24
d2b1256e5c
Fix bounds check for `ImageDrawRectangleRec` ( #3732 )
2 лет назад
Tobias Mock
02133092f8
Update OCaml bindings version ( #3730 )
2 лет назад
Ray
cb2572fe07
Avoid asserts because could crash some decompressions https://github.com/raysan5/raygui/issues/364
2 лет назад
Karl Zylinski
520c8cffb2
Simplified GetWindowScaleDPI() so it does not fetch the wrong DPI scale some times (Windows looks at center of window while the old raylib code looked on upper left corner of window, now it just uses the glfw function to fetch the window's current scaling). Also introduced a callback to update the CORE.Window.screenScaling when the content scaling updates, previously scaling did not work correctly on systems with multiple monitors that have different DPI scaling. ( #3701 )
2 лет назад