From c52ba520cec3c9d3fdf7cb1f70da95e9396c59a9 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 28 Aug 2015 14:14:29 +0200 Subject: Small tweaks --- src/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index e3c4e10b..8d832fd2 100644 --- a/src/core.c +++ b/src/core.c @@ -1007,8 +1007,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 -- cgit v1.2.3 From 055d8927cccbc2b7b4dd5d6f6928159ba3fff2e6 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sat, 29 Aug 2015 20:20:28 +0200 Subject: Small code tweaks --- src/core.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core.c') 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) -- cgit v1.2.3