Skip to content

Commit 3ec3185

Browse files
committed
Revert code
1 parent b5404f8 commit 3ec3185

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

src/cocoa_platform.h

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,8 @@ typedef VkResult (APIENTRY *PFN_vkCreateMetalSurfaceEXT)(VkInstance,const VkMeta
105105
#define GLFW_COCOA_MONITOR_STATE _GLFWmonitorNS ns;
106106
#define GLFW_COCOA_CURSOR_STATE _GLFWcursorNS ns;
107107

108-
#define _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL)
109-
#define _glfw_dlclose(handle) dlclose(handle)
110-
#define _glfw_dlsym(handle, name) dlsym(handle, name)
111-
112-
#define _GLFW_EGL_NATIVE_WINDOW ((EGLNativeWindowType) window->ns.layer)
113-
#define _GLFW_EGL_NATIVE_DISPLAY EGL_DEFAULT_DISPLAY
114-
115-
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS ns
116-
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS ns
117-
#define _GLFW_PLATFORM_LIBRARY_TIMER_STATE _GLFWtimerNS ns
118-
#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorNS ns
119-
#define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorNS ns
108+
#define GLFW_NSGL_CONTEXT_STATE _GLFWcontextNSGL nsgl;
109+
#define GLFW_NSGL_LIBRARY_CONTEXT_STATE _GLFWlibraryNSGL nsgl;
120110

121111
// HIToolbox.framework pointer typedefs
122112
#define kTISPropertyUnicodeKeyLayoutData _glfw.ns.tis.kPropertyUnicodeKeyLayoutData

0 commit comments

Comments
 (0)