aboutsummaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-01-04 18:05:50 +0100
committerraysan5 <raysan5@gmail.com>2015-01-04 18:05:50 +0100
commit4a7e522d4bb376d2277895d1d99eb0382f8bbefb (patch)
tree0410f5604cc3cfc036f6c1f3ac4333ac33726660 /src/core.c
parentb2a5390adbfb3f88ecc94e977c56bc00fac4cfbc (diff)
downloadraylib-1.2.2.tar.gz
raylib-1.2.2.zip
Review build system for Android and RPI1.2.2
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core.c b/src/core.c
index 65828c48..26b1dd6d 100644
--- a/src/core.c
+++ b/src/core.c
@@ -170,7 +170,6 @@ static Matrix downscaleView; // Matrix to downscale view (in case
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_RPI) || defined(PLATFORM_WEB)
static const char *windowTitle; // Window text title...
-static char configFlags = 0;
static bool customCursor = false; // Tracks if custom cursor has been set
static bool cursorOnScreen = false; // Tracks if cursor is inside client area
@@ -204,6 +203,7 @@ static double updateTime, drawTime; // Time measures for update and draw
static double frameTime; // Time measure for one frame
static double targetTime = 0.0; // Desired time for one frame, if 0 not applied
+static char configFlags = 0;
static bool showLogo = false;
//----------------------------------------------------------------------------------
@@ -455,12 +455,6 @@ int GetScreenHeight(void)
return screenHeight;
}
-// Get the last key pressed
-int GetKeyPressed(void)
-{
- return lastKeyPressed;
-}
-
// Sets Background Color
void ClearBackground(Color color)
{
@@ -674,6 +668,12 @@ bool IsKeyUp(int key)
else return false;
}
+// Get the last key pressed
+int GetKeyPressed(void)
+{
+ return lastKeyPressed;
+}
+
// Detect if a mouse button has been pressed once
bool IsMouseButtonPressed(int button)
{