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
```
6年前
raysan5
f346c672fb
Work on macOS HighDPI issue #826
6年前
raysan5
08adb4b8c3
Check and testing timming #865
6年前
raysan5
3d936061c8
Corrected issue #1027
6年前
Ray
95f3b6e18e
Review VSync on fullscreen mode
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else
6年前
MasterZean
8eecbbe4aa
fixes for switching full-screen and v-sync ( #963 )
* fixes for switching full-screen and v-sync
* requireVsync flag
6年前
Ray
ea5cd42e6c
Update GLFW to version 3.4
6年前
Ray
3ffe34f9bb
ADDED: DrawTextCodepoint()
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
6年前
Ray
416a52b5bc
Minor comments tweak
6年前
Ray
60e8511543
Update miniaudio.h to v0.9.8
6年前
Ray
97abaff4c5
Support rlPushMatrix() and rlPopMatrix() on mesh drawing
6年前
Darryl Dixon - Piece Digital
776304e8e8
Comments ( #1026 )
* swapped comments, expanded comment for clarity
* revert alignments
* adjusted for consistency
6年前
raysan5
d5aab98ac9
Review PR #1015
Just simplified code a bit
6年前
brankoku
1f66f0d9a2
[text] `TextFormat()` caching ( #1015 )
6年前
raysan5
c1a02e9fca
Review PR #1022
Actually OpenAL is not used any more, it should be using CoreAudio
6年前
raysan5
1d3f230c92
Review key input queue PR #1012
Keeping original API
6年前
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
6年前
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
6年前
Ray
2783d0d63e
DrawPoint3D(): PR review
6年前
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.
6年前
Kevin Yonan
d2882a68fe
Adding double ended stack & Mempool Reset function ( #1021 )
6年前
JuDelCo
8b7db29ba0
Fix Makefile missing X11 lib when building as a shared library on Linux. ( #1018 )
6年前
brankoku
96b0563249
[rlgl] Create function `rlUpdateMeshAt` ( #1010 )
* [rlgl] Create function `rlUpdateMeshAt`
* [rlgl] Update function `rlUpdateMeshAt`
6年前
ChrisDill
00c611a5fb
[Core] Added ColorFromNormalized which is the reverse of ColorNormalize. ( #1011 )
6年前
brankoku
bba8454034
rlUpdateMesh now supports updating indices ( #1009 )
6年前
raysan5
29b9b054dd
REVIEW: rlLoadTexture()
Corrected bug when loading a RenderTexture texture passing NULL data.
6年前
raysan5
e8b89b5ecf
REVIEW: GetImageData() and GetImageAlphaBorder()
6年前
Ray
dc6136e820
Review formatting for PR #1004
6年前
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
6年前
Ray
d73abe73e5
REDESIGN: TextToUtf8()
ADDED: CodepointToUtf8()
6年前
Ray
f6df47dfe5
ADDED: TextToUtf8() -WIP-
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
6年前
chriscamacho
90b3dceb54
added GetMatrixProjection fixed issue with GL11 where model matrix was identity ( #999 )
6年前
Ray
39e22046c1
ClearDirectoryFiles(): Corrected issue #994
6年前
chriscamacho
3d8b1165a8
mem leak in gltf loader ( #995 )
6年前
Ray
163a9e1f41
ClearDirectoryFiles() corrected bug
6年前
Ray
9b6227688f
Corrected issue #992
6年前
Ray
3c2ce77b7b
ClearDirectoryFiles(): Corrected memory leak #991
6年前
Ray
1878a9ea01
Corrected possible memory leak #993
6年前
Ray
06910eedfd
Minor comment tweak
6年前
Ray
ca92f43c27
Review some defines
6年前
Ray
ea70c47a1a
Review latest PR
6年前
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
6年前
Ray
ab52f98480
Update text.c
6年前
Ray
c1d282d9e8
Corrected bug on no-extension
6年前
raysan5
e25f4dca1f
Update external libraries
6年前
raysan5
68dcb55349
Corrected bug on ImageDrawRectangleLines()
6年前
Ray
b75511248d
Remove trailing spaces
6年前
Ray
e40c26dea5
REVIEWED: GetCodepoints() issue
- Improved LoadBMFont()
6年前
Ray
7baa2975ec
REDESIGNED: IsFileExtension()
Now it accepts a ';' separated list of extensions, useful to check multiple extensions
6年前
Ray
e0cb892d2d
ADDED: GetCodepoints()
Get the unicode equivalent characters (as int array) from a UTF-8 text array... maybe this function is renamed to be clearer to users...
6年前