Watch
2
0
Fork
You've already forked raylib-cs
0

replace occurences with MOUSE_*

This commit is contained in:
danil 2024-01-18 10:53:31 +02:00
commit 910befbff9
17 changed files with 29 additions and 29 deletions

View file

@ -58,7 +58,7 @@ public class ImageGeneration
{
// Update
//----------------------------------------------------------------------------------
if (IsMouseButtonPressed(MouseButton.MOUSE_LEFT_BUTTON) || IsKeyPressed(KeyboardKey.Right))
if (IsMouseButtonPressed(MouseButton.Left) || IsKeyPressed(KeyboardKey.Right))
{
// Cycle between the textures
currentTexture = (currentTexture + 1) % NumTextures;