aboutsummaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2015-08-29 20:20:28 +0200
committerraysan5 <raysan5@gmail.com>2015-08-29 20:20:28 +0200
commit055d8927cccbc2b7b4dd5d6f6928159ba3fff2e6 (patch)
treede02e87169ca1e5a16c8074e6588600a902b1c3d /src/core.c
parent8692c495110f650405eb2dd54d5de101880533af (diff)
downloadraylib-055d8927cccbc2b7b4dd5d6f6928159ba3fff2e6.tar.gz
raylib-055d8927cccbc2b7b4dd5d6f6928159ba3fff2e6.zip
Small code tweaks
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 8d832fd2..1ebc8a8f 100644
--- a/src/core.c
+++ b/src/core.c
@@ -638,6 +638,7 @@ void ShowLogo(void)
showLogo = true;
}
+#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
// Check if a file have been dropped into window
bool IsFileDropped(void)
{
@@ -664,6 +665,7 @@ void ClearDroppedFiles(void)
dropFilesCount = 0;
}
}
+#endif
// TODO: Gives the ray trace from mouse position
Ray GetMouseRay(Vector2 mousePosition, Camera camera)