Ahmad Fatoum
2a64aa2abd
external: glfw: reinstate export of GLFW_PKG_{DEPS,LIBS}
We were doing this before, but it was deleted during the
last GLFW update. Readd it to fix the associated macOS CI failure.
Fixes: ea5cd42e6
("Update GLFW to version 3.4")
há 6 anos
Oskari Timperi
8a08a9b225
Fix `IsMouseButtonReleased()` when press/release events come too fast ( #1032 )
If press/release events for a mouse button come too fast, then using
`IsMouseButtonReleased()` does not work. This has been noticed when
using a touchpad on Linux when tapping with two fingers two emulate
right mouse button click.
The situation looks like this:
```
BeginDrawing <-- current==released, previous==released
Pressed <-- current=pressed
Released <-- current=released
IsMouseButtonReleased <-- returns false because current==previous
EndDrawing <-- previous=released
```
The fix is to update the previous mouse button state in addition to
current mouse button state when `MouseButtonCallback()` is called by
glfw. Now the situation is as follows:
```
BeginDrawing <-- current==released, previous==released
Pressed <-- current=pressed, previous=released
Released <-- current=released, previous=pressed
IsMouseButtonReleased <-- returns true because current!=previous
EndDrawing <-- previous=released
```
há 5 anos
raysan5
f346c672fb
Work on macOS HighDPI issue #826
há 5 anos
raysan5
08adb4b8c3
Check and testing timming #865
há 5 anos
raysan5
3d936061c8
Corrected issue #1027
há 5 anos
Ray
95f3b6e18e
Review VSync on fullscreen mode
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else
há 5 anos
MasterZean
8eecbbe4aa
fixes for switching full-screen and v-sync ( #963 )
* fixes for switching full-screen and v-sync
* requireVsync flag
há 5 anos
Ray
ea5cd42e6c
Update GLFW to version 3.4
há 5 anos
Ray
3ffe34f9bb
ADDED: DrawTextCodepoint()
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
há 5 anos
Ray
416a52b5bc
Minor comments tweak
há 5 anos
Ray
60e8511543
Update miniaudio.h to v0.9.8
há 5 anos
Ray
97abaff4c5
Support rlPushMatrix() and rlPopMatrix() on mesh drawing
há 5 anos
Darryl Dixon - Piece Digital
776304e8e8
Comments ( #1026 )
* swapped comments, expanded comment for clarity
* revert alignments
* adjusted for consistency
há 5 anos
raysan5
d5aab98ac9
Review PR #1015
Just simplified code a bit
há 5 anos
brankoku
1f66f0d9a2
[text] `TextFormat()` caching ( #1015 )
há 5 anos
raysan5
c1a02e9fca
Review PR #1022
Actually OpenAL is not used any more, it should be using CoreAudio
há 5 anos
raysan5
1d3f230c92
Review key input queue PR #1012
Keeping original API
há 5 anos
Ushio
ae301a1d23
add api FIFO based character input. ( #1012 )
* add api FIFO based character input.
* rename input character functions
* replace tab to space x4 #1012
há 5 anos
Ushio
b132ae099b
Fix camera not working problem at align z direction. #924 ( #1013 )
* Fix camera not working problem at align z direction. #924
* replace tab to space x4
há 5 anos
Ray
2783d0d63e
DrawPoint3D(): PR review
há 5 anos
Eric J
5d27c1e6c9
Add DrawPoint3D() function to models.c ( #1019 )
Uses fewer vertexes than using DrawCube() or DrawSphere() for points. The small line is on analogy to the code for DrawPoint() in shapes.c.
há 5 anos
Kevin Yonan
d2882a68fe
Adding double ended stack & Mempool Reset function ( #1021 )
há 5 anos
JuDelCo
8b7db29ba0
Fix Makefile missing X11 lib when building as a shared library on Linux. ( #1018 )
há 5 anos
brankoku
96b0563249
[rlgl] Create function `rlUpdateMeshAt` ( #1010 )
* [rlgl] Create function `rlUpdateMeshAt`
* [rlgl] Update function `rlUpdateMeshAt`
há 5 anos
ChrisDill
00c611a5fb
[Core] Added ColorFromNormalized which is the reverse of ColorNormalize. ( #1011 )
há 5 anos
brankoku
bba8454034
rlUpdateMesh now supports updating indices ( #1009 )
há 5 anos
raysan5
29b9b054dd
REVIEW: rlLoadTexture()
Corrected bug when loading a RenderTexture texture passing NULL data.
há 5 anos
raysan5
e8b89b5ecf
REVIEW: GetImageData() and GetImageAlphaBorder()
há 5 anos
Ray
dc6136e820
Review formatting for PR #1004
há 5 anos
João Coelho
75b0264f35
fix various problems, thanks CppCheck :) ( #1005 )
* explained a bit more the core_window_letterbox example
* fixed a few 'ups' moments that could lead to mild head pain and time loss
há 5 anos
Ray
d73abe73e5
REDESIGN: TextToUtf8()
ADDED: CodepointToUtf8()
há 5 anos
Ray
f6df47dfe5
ADDED: TextToUtf8() -WIP-
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
há 5 anos
chriscamacho
90b3dceb54
added GetMatrixProjection fixed issue with GL11 where model matrix was identity ( #999 )
há 5 anos
Ray
39e22046c1
ClearDirectoryFiles(): Corrected issue #994
há 5 anos
chriscamacho
3d8b1165a8
mem leak in gltf loader ( #995 )
há 5 anos
Ray
163a9e1f41
ClearDirectoryFiles() corrected bug
há 5 anos
Ray
9b6227688f
Corrected issue #992
há 5 anos
Ray
3c2ce77b7b
ClearDirectoryFiles(): Corrected memory leak #991
há 5 anos
Ray
1878a9ea01
Corrected possible memory leak #993
há 5 anos
Ray
06910eedfd
Minor comment tweak
há 5 anos
Ray
ca92f43c27
Review some defines
há 5 anos
Ray
ea70c47a1a
Review latest PR
há 5 anos
Tyler Jessilynn Bezera
3f7fa6d6e7
Add multi texture support for materials in GLTF format ( #979 )
* Initial commit of addition for GLTF materials.. should support loading more than just albedo map.
* Clean up
* fixed seg faults and leaks
* temp don't overwrite defuse colour when rendering
* undid something dumb!
* correctly mixed diffuse map color when rendering to preserve not overwrite it
há 5 anos
Ray
ab52f98480
Update text.c
há 5 anos
Ray
c1d282d9e8
Corrected bug on no-extension
há 5 anos
raysan5
e25f4dca1f
Update external libraries
há 5 anos
raysan5
68dcb55349
Corrected bug on ImageDrawRectangleLines()
há 5 anos
Ray
b75511248d
Remove trailing spaces
há 5 anos
Ray
e40c26dea5
REVIEWED: GetCodepoints() issue
- Improved LoadBMFont()
há 5 anos
Ray
7baa2975ec
REDESIGNED: IsFileExtension()
Now it accepts a ';' separated list of extensions, useful to check multiple extensions
há 5 anos