summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorChrisDill <[email protected]>2018-09-27 16:23:11 +0100
committerChrisDill <[email protected]>2018-09-27 16:23:11 +0100
commited79d53e1a177596d312453db8db4bc69f2b8656 (patch)
treebe213cdee87e9c6766403e2bab2ec75d305cb3de /src/core.c
parent73701c12b224b8d0461d50bdd5e3b98f7aaa2297 (diff)
downloadraylib-ed79d53e1a177596d312453db8db4bc69f2b8656.tar.gz
raylib-ed79d53e1a177596d312453db8db4bc69f2b8656.zip
Changed tabs to spaces
- Fixed tabs used instead of 4 spaces
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/core.c b/src/core.c
index 5b9db9fa..9086ad65 100644
--- a/src/core.c
+++ b/src/core.c
@@ -773,9 +773,9 @@ int GetScreenHeight(void)
// Get number of monitors
int GetMonitorCount(void)
{
- int monitorCount;
- glfwGetMonitors(&monitorCount);
- return monitorCount;
+ int monitorCount;
+ glfwGetMonitors(&monitorCount);
+ return monitorCount;
}
// Get primary monitor width
@@ -789,34 +789,34 @@ int GetMonitorWidth(void)
// Get primary monitor height
int GetMonitorHeight(void)
{
- GLFWmonitor *monitor = glfwGetPrimaryMonitor();
- const GLFWvidmode * mode = glfwGetVideoMode(monitor);
- return mode->height;
+ GLFWmonitor *monitor = glfwGetPrimaryMonitor();
+ const GLFWvidmode * mode = glfwGetVideoMode(monitor);
+ return mode->height;
}
// Get primary montior physical width in millimetres
int GetMonitorPhysicalWidth(void)
{
- int physicalWidth;
- GLFWmonitor *monitor = glfwGetPrimaryMonitor();
- glfwGetMonitorPhysicalSize(monitor, &physicalWidth, NULL);
- return physicalWidth;
+ int physicalWidth;
+ GLFWmonitor *monitor = glfwGetPrimaryMonitor();
+ glfwGetMonitorPhysicalSize(monitor, &physicalWidth, NULL);
+ return physicalWidth;
}
// Get primary monitor physical height in millimetres
int GetMonitorPhysicalHeight(void)
{
- int physicalHeight;
- GLFWmonitor *monitor = glfwGetPrimaryMonitor();
- glfwGetMonitorPhysicalSize(monitor, NULL, &physicalHeight);
- return physicalHeight;
+ int physicalHeight;
+ GLFWmonitor *monitor = glfwGetPrimaryMonitor();
+ glfwGetMonitorPhysicalSize(monitor, NULL, &physicalHeight);
+ return physicalHeight;
}
// Get the human-readable, UTF-8 encoded name of the primary monitor
const char *GetMonitorName(void)
{
- GLFWmonitor *monitor = glfwGetPrimaryMonitor();
- return glfwGetMonitorName(monitor);
+ GLFWmonitor *monitor = glfwGetPrimaryMonitor();
+ return glfwGetMonitorName(monitor);
}
// Show mouse cursor