summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authoruser <email>2017-12-14 11:52:45 +0100
committeruser <email>2017-12-14 11:52:45 +0100
commit2affac820e64393ac4294c53c1a7f47742e8dec9 (patch)
tree1496d49f40b10785e20746780328cf21288b4aea /src/core.c
parent217917530b12c7332fb83381aef6acf9975e7361 (diff)
downloadraylib-2affac820e64393ac4294c53c1a7f47742e8dec9.tar.gz
raylib-2affac820e64393ac4294c53c1a7f47742e8dec9.zip
make raylib not clash with windows-header
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core.c b/src/core.c
index 011e0d76..8e26d2b1 100644
--- a/src/core.c
+++ b/src/core.c
@@ -413,7 +413,7 @@ static void *GamepadThread(void *arg); // Mouse reading thread
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_RPI) || defined(PLATFORM_WEB)
// Initialize window and OpenGL context
// NOTE: data parameter could be used to pass any kind of required data to the initialization
-void InitWindow(int width, int height, void *data)
+void InitRLWindow(int width, int height, void *data)
{
TraceLog(LOG_INFO, "Initializing raylib (v1.9-dev)");
@@ -477,7 +477,7 @@ void InitWindow(int width, int height, void *data)
#if defined(PLATFORM_ANDROID)
// Initialize window and OpenGL context (and Android activity)
// NOTE: data parameter could be used to pass any kind of required data to the initialization
-void InitWindow(int width, int height, void *data)
+void InitRLWindow(int width, int height, void *data)
{
TraceLog(LOG_INFO, "Initializing raylib (v1.9-dev)");
@@ -538,7 +538,7 @@ void InitWindow(int width, int height, void *data)
#endif
// Close window and unload OpenGL context
-void CloseWindow(void)
+void CloseRLWindow(void)
{
#if defined(SUPPORT_GIF_RECORDING)
if (gifRecording)
@@ -715,7 +715,7 @@ int GetScreenHeight(void)
}
// Show mouse cursor
-void ShowCursor()
+void ShowRLCursor()
{
#if defined(PLATFORM_DESKTOP)
#if defined(__linux__)
@@ -728,7 +728,7 @@ void ShowCursor()
}
// Hides mouse cursor
-void HideCursor()
+void HideRLCursor()
{
#if defined(PLATFORM_DESKTOP)
#if defined(__linux__)