From a7714c842f72b8d41829caa7564f91abb3ffbd6b Mon Sep 17 00:00:00 2001 From: raysan5 Date: Mon, 11 May 2015 00:15:46 +0200 Subject: raymath module review and other changes Complete review of matrix rotation math Check compressed textures support WIP: LoadImageFromData() --- src/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index 384e043a..cc8f31fd 100644 --- a/src/core.c +++ b/src/core.c @@ -180,9 +180,9 @@ static int currentMouseWheelY = 0; // Required to track mouse wheel var static int exitKey = KEY_ESCAPE; // Default exit key (ESC) static int lastKeyPressed = -1; -#endif static bool cursorHidden; +#endif static double currentTime, previousTime; // Used to track timmings static double updateTime, drawTime; // Time measures for update and draw @@ -227,6 +227,7 @@ static void SwapBuffers(void); // Copy back buffer to f static void PollInputEvents(void); // Register user events static void LogoAnimation(void); // Plays raylib logo appearing animation static void SetupFramebufferSize(int displayWidth, int displayHeight); + #if defined(PLATFORM_RPI) static void InitMouse(void); // Mouse initialization (including mouse thread) static void *MouseThread(void *arg); // Mouse reading thread -- cgit v1.2.3