瀏覽代碼

REVIEW: Fix issue with external GLFW missing define #2638

pull/2644/head
Ray 2 年之前
父節點
當前提交
2ad7967db8
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      src/rcore.c

+ 6
- 0
src/rcore.c 查看文件

@ -237,6 +237,12 @@
//#define GLFW_EXPOSE_NATIVE_COCOA // WARNING: Fails due to type redefinition //#define GLFW_EXPOSE_NATIVE_COCOA // WARNING: Fails due to type redefinition
#include "GLFW/glfw3native.h" // Required for: glfwGetCocoaWindow() #include "GLFW/glfw3native.h" // Required for: glfwGetCocoaWindow()
#endif #endif
// TODO: HACK: Added flag if not provided by GLFW when using external library
// Latest GLFW release (GLFW 3.3.8) does not implement this flag, it was added for 3.4.0-dev
#if !defined(GLFW_MOUSE_PASSTHROUGH)
#define GLFW_MOUSE_PASSTHROUGH 0x0002000D
#endif
#endif #endif
#if defined(PLATFORM_ANDROID) #if defined(PLATFORM_ANDROID)

Loading…
取消
儲存