Don't include system GLFW headers.

This commit is contained in:
Relintai 2024-09-14 13:54:29 +02:00
parent 32820bd428
commit febe2396f1

View File

@ -89,21 +89,23 @@
#endif
// GLFW
#include <GLFW/glfw3.h>
#ifdef _WIN32
#undef APIENTRY
#ifndef GLFW_EXPOSE_NATIVE_WIN32
#define GLFW_EXPOSE_NATIVE_WIN32
#endif
#include <GLFW/glfw3native.h> // for glfwGetWin32Window()
//#include <GLFW/glfw3native.h> // for glfwGetWin32Window()
#endif
#ifdef __APPLE__
#ifndef GLFW_EXPOSE_NATIVE_COCOA
#define GLFW_EXPOSE_NATIVE_COCOA
#endif
#include <GLFW/glfw3native.h> // for glfwGetCocoaWindow()
//#include <GLFW/glfw3native.h> // for glfwGetCocoaWindow()
#endif
#include "render_core/3rd_glfw3.h"
#ifndef _WIN32
#include <unistd.h> // for usleep()
#endif