aboutsummaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2015-08-31 01:16:34 +0200
committerRay <raysan5@gmail.com>2015-08-31 01:16:34 +0200
commit60194753d7b8abcdec3df2a502ccd29a1076bb7c (patch)
tree47df863966fee50bd3a10d195c3f8274b4ed5ee6 /src/core.c
parent3a9ed0e8462570e30d92e2aa8c0ff3cf655ef863 (diff)
parent808aeabf4c2ab0828e4f7806b75d95dc1b5ab212 (diff)
downloadraylib-60194753d7b8abcdec3df2a502ccd29a1076bb7c.tar.gz
raylib-60194753d7b8abcdec3df2a502ccd29a1076bb7c.zip
Merge pull request #26 from raysan5/develop
Develop branch integration
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c
index e3c4e10b..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)
@@ -1007,8 +1009,8 @@ static void InitDisplay(int width, int height)
glfwWindowHint(GLFW_RESIZABLE, GL_FALSE); // Avoid window being resizable
//glfwWindowHint(GLFW_DECORATED, GL_TRUE); // Border and buttons on Window
- //glfwWindowHint(GLFW_RED_BITS, 8); // Color framebuffer red component bits
- //glfwWindowHint(GLFW_DEPTH_BITS, 16); // Depth buffer bits (24 by default)
+ //glfwWindowHint(GLFW_RED_BITS, 8); // Framebuffer red color component bits
+ //glfwWindowHint(GLFW_DEPTH_BITS, 16); // Depthbuffer bits (24 by default)
//glfwWindowHint(GLFW_REFRESH_RATE, 0); // Refresh rate for fullscreen window
//glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API); // Default OpenGL API to use. Alternative: GLFW_OPENGL_ES_API
//glfwWindowHint(GLFW_AUX_BUFFERS, 0); // Number of auxiliar buffers