glfw: add glfw.getInstanceProcAddress
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1eeb049b5c
commit
ad7d6b405d
3 changed files with 64 additions and 44 deletions
|
|
@ -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");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue