mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
@@ -209,9 +209,6 @@ extern "C" {
|
||||
#endif /*__APPLE__*/
|
||||
|
||||
#endif /* OpenGL and OpenGL ES headers */
|
||||
#ifndef GLAPIENTRY
|
||||
#define GLAPIENTRY APIENTRY
|
||||
#endif /* GLAPIENT
|
||||
|
||||
#if defined(GLFW_INCLUDE_VULKAN)
|
||||
|
||||
@@ -4909,6 +4906,13 @@ GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow* window
|
||||
#undef GLFW_CALLBACK_DEFINED
|
||||
#endif
|
||||
|
||||
/* Some OpenGL related headers need GLAPIENTRY, but it is unconditionally
|
||||
* defined by some gl.h variants (OpenBSD) so define it after if needed.
|
||||
*/
|
||||
#ifndef GLAPIENTRY
|
||||
#define GLAPIENTRY APIENTRY
|
||||
#endif
|
||||
|
||||
/* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user