| Age | Commit message (Collapse) | Author |
|
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
```
|
|
|
|
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else
|
|
* fixes for switching full-screen and v-sync
* requireVsync flag
|
|
|
|
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
|
|
|
|
|
|
|
|
|
|
|
|
* swapped comments, expanded comment for clarity
* revert alignments
* adjusted for consistency
|
|
Just simplified code a bit
|
|
|
|
Actually OpenAL is not used any more, it should be using CoreAudio
|
|
|
|
Keeping original API
|
|
* add api FIFO based character input.
* rename input character functions
* replace tab to space x4 #1012
|
|
* Fix camera not working problem at align z direction. #924
* replace tab to space x4
|
|
|
|
Uses fewer vertexes than using DrawCube() or DrawSphere() for points. The small line is on analogy to the code for DrawPoint() in shapes.c.
|
|
|
|
|
|
|
|
|
|
|
|
* [rlgl] Create function `rlUpdateMeshAt`
* [rlgl] Update function `rlUpdateMeshAt`
|
|
|
|
|
|
Corrected bug when loading a RenderTexture texture passing NULL data.
|
|
|
|
At least on Linux, CMake seems to add automatically
the '-rdynamic' flag. As a result, Emscripten
generates a fat HTML file that does not work.
Removing it allows HTML+JS+WASM generation.
|
|
|
|
* explained a bit more the core_window_letterbox example
* fixed a few 'ups' moments that could lead to mild head pain and time loss
|
|
|
|
* new linux makefile for Android portages
* Revert "projects: CMake: bump up minimal raylib version (#983)"
This reverts commit 82306af111894397cb2028ac270f2916aa615fab.
* new PR for upstream
* for Raysan
|
|
ADDED: CodepointToUtf8()
|
|
|
|
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
|
|
|
|
identity (#999)
|
|
* Removed Unused Uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* Removed Unused uniforms
uniform vec3 viewUp;
uniform float deltaTime;
* Updated Source
Added - #define PLATFORM_DESKTOP line for desktop users.
This now will correctly find the proper glsl version for the raymarching.fs file.
Removed - Uniforms --> deltaTime and viewUp. Including the code that was setting them.
They were never used and they were triggering a log warning.
Removed - The const from both screenWidth and screenHeight.
Now they can be used to update the shader resolution when screen is resized.
NOTE : This is a quick fix and probably not the best idea.
Added - IsWindowResized() to check if screen is resized.
If window is resized then width, height and shader resolution are updated.
Changed - MIT tag at bottom right color value to BLACK. Now it's easier to see.
* Closer Match to original code
* Removed the PLATFORM_DESKTOP Define
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|