diff --git a/libs/glfw/src/native.zig b/libs/glfw/src/native.zig index 6abdf828..d2adc3a7 100644 --- a/libs/glfw/src/native.zig +++ b/libs/glfw/src/native.zig @@ -40,6 +40,7 @@ pub const BackendOptions = struct { pub fn Native(comptime options: BackendOptions) type { const native = @cImport({ @cDefine("GLFW_INCLUDE_VULKAN", "1"); + @cDefine("GLFW_INCLUDE_NONE", "1"); if (options.win32) @cDefine("GLFW_EXPOSE_NATIVE_WIN32", "1"); if (options.wgl) @cDefine("GLFW_EXPOSE_NATIVE_WGL", "1"); if (options.cocoa) @cDefine("GLFW_EXPOSE_NATIVE_COCOA", "1");