Fix unused function on macOS
This commit is contained in:
parent
0b3c8210f3
commit
b269cab0b8
@ -310,6 +310,7 @@ make_os_window_context_current(OSWindow *w) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef __APPLE__
|
||||||
static GLFWmonitor*
|
static GLFWmonitor*
|
||||||
current_monitor(GLFWwindow *window) {
|
current_monitor(GLFWwindow *window) {
|
||||||
// Find the monitor that has the maximum overlap with this window
|
// Find the monitor that has the maximum overlap with this window
|
||||||
@ -344,6 +345,7 @@ current_monitor(GLFWwindow *window) {
|
|||||||
|
|
||||||
return bestmonitor;
|
return bestmonitor;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
get_window_dpi(GLFWwindow *w, double *x, double *y) {
|
get_window_dpi(GLFWwindow *w, double *x, double *y) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user