aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-04Fix `IsMouseButtonReleased()` when press/release events come too fastfix-mouse-releasedOskari Timperi
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 ```
2019-12-04Corrected issue #1027raysan5
2019-12-01Review VSync on fullscreen modeRay
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else
2019-12-01fixes for switching full-screen and v-sync (#963)MasterZean
* fixes for switching full-screen and v-sync * requireVsync flag
2019-12-01Update GLFW to version 3.4Ray
2019-12-01ADDED: DrawTextCodepoint()Ray
- Renamed GetGlyphIndex() parameter - Review DrawTextEx() implementation - Review DrawTextRecEx() implementation
2019-12-01Minor comments tweakRay
2019-11-25Rename and review: core_2d_camera_platformerRay
2019-11-25Update miniaudio.h to v0.9.8Ray
2019-11-25Support rlPushMatrix() and rlPopMatrix() on mesh drawingRay
2019-11-25Minor format tweaksRay
2019-11-25Comments (#1026)Darryl Dixon - Piece Digital
* swapped comments, expanded comment for clarity * revert alignments * adjusted for consistency
2019-11-24Review PR #1015raysan5
Just simplified code a bit
2019-11-24[text] `TextFormat()` caching (#1015)brankoku
2019-11-24Review PR #1022raysan5
Actually OpenAL is not used any more, it should be using CoreAudio
2019-11-24fix example build on macos (#1022)Richard Smith
2019-11-24Review key input queue PR #1012raysan5
Keeping original API
2019-11-24add api FIFO based character input. (#1012)Ushio
* add api FIFO based character input. * rename input character functions * replace tab to space x4 #1012
2019-11-24Fix camera not working problem at align z direction. #924 (#1013)Ushio
* Fix camera not working problem at align z direction. #924 * replace tab to space x4
2019-11-22DrawPoint3D(): PR reviewRay
2019-11-22Add DrawPoint3D() function to models.c (#1019)Eric J
Uses fewer vertexes than using DrawCube() or DrawSphere() for points. The small line is on analogy to the code for DrawPoint() in shapes.c.
2019-11-22Adding double ended stack & Mempool Reset function (#1021)Kevin Yonan
2019-11-22Update BINDINGS.mdRay
2019-11-20Added raylib bindingRay
2019-11-15Fix Makefile missing X11 lib when building as a shared library on Linux. (#1018)JuDelCo
2019-11-12Fix VSCode template for debugging. (#1014)JuDelCo
2019-11-11[rlgl] Create function `rlUpdateMeshAt` (#1010)brankoku
* [rlgl] Create function `rlUpdateMeshAt` * [rlgl] Update function `rlUpdateMeshAt`
2019-11-08[Core] Added ColorFromNormalized which is the reverse of ColorNormalize. (#1011)ChrisDill
2019-11-06rlUpdateMesh now supports updating indices (#1009)brankoku
2019-11-04REVIEW: rlLoadTexture()raysan5
Corrected bug when loading a RenderTexture texture passing NULL data.
2019-11-04REVIEW: GetImageData() and GetImageAlphaBorder()raysan5
2019-11-01Fix generation of web examples (#1007)Pablo Marcos Oltra
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.
2019-10-29Review formatting for PR #1004Ray
2019-10-29fix various problems, thanks CppCheck :) (#1005)João Coelho
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-29Review latest PR #1003Ray
2019-10-29Raysan (#1003)Jean-Seb / jseb
* 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
2019-10-28REDESIGN: TextToUtf8()Ray
ADDED: CodepointToUtf8()
2019-10-28Corrected issue with function renamedRay
2019-10-27ADDED: TextToUtf8() -WIP-Ray
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
2019-10-27Update Bindings list include raylib-pas info (#1001)Donald Duvall
2019-10-27added GetMatrixProjection fixed issue with GL11 where model matrix was ↵chriscamacho
identity (#999)
2019-10-26updated RayMarching Demo (#997)Industrious Nomad
* 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
2019-10-25ClearDirectoryFiles(): Corrected issue #994Ray
2019-10-23mem leak in gltf loader (#995)chriscamacho
2019-10-23ClearDirectoryFiles() corrected bugRay
2019-10-22Corrected issue #992Ray
2019-10-22ClearDirectoryFiles(): Corrected memory leak #991Ray
2019-10-22Corrected possible memory leak #993Ray
2019-10-22Minor comment tweakRay
2019-10-22Review some definesRay