glfw: add glfw.getInstanceProcAddress

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-10-16 17:30:56 -07:00 committed by Stephen Gutekanst
parent 1eeb049b5c
commit ad7d6b405d
3 changed files with 64 additions and 44 deletions

View file

@ -15,4 +15,7 @@
//! pub const struct_GLFWvidmode = extern struct {
//! ^
//! ```
pub const c = @cImport(@cInclude("GLFW/glfw3.h"));
pub const c = @cImport({
@cDefine("GLFW_INCLUDE_VULKAN", "1");
@cInclude("GLFW/glfw3.h");
});