diff options
| author | Ray <[email protected]> | 2017-03-09 13:13:13 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-09 13:13:13 +0100 |
| commit | 81897e77715c8d59382fe9d54641081c20e163ea (patch) | |
| tree | 02208f8699bb27b8a433ae6c0e11900c31d0d84e /src/core.c | |
| parent | b898a161f7b147b5af1f58f5b73641debb29e7f4 (diff) | |
| download | raylib-81897e77715c8d59382fe9d54641081c20e163ea.tar.gz raylib-81897e77715c8d59382fe9d54641081c20e163ea.zip | |
Corrected bugs on RPI compilation
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -583,12 +583,15 @@ void SetWindowIcon(Image image) // Set window position on screen (windowed mode) void SetWindowPosition(int x, int y) { +#if defined(PLATFORM_DESKTOP) glfwSetWindowPos(window, x, y); +#endif } // Set monitor for the current window (fullscreen mode) void SetWindowMonitor(int monitor) { +#if defined(PLATFORM_DESKTOP) int monitorCount; GLFWmonitor** monitors = glfwGetMonitors(&monitorCount); @@ -598,6 +601,7 @@ void SetWindowMonitor(int monitor) TraceLog(INFO, "Selected fullscreen monitor: [%i] %s", monitor, glfwGetMonitorName(monitors[monitor])); } else TraceLog(WARNING, "Selected monitor not found"); +#endif } // Get current screen width |
