summaryrefslogtreecommitdiff
path: root/crates/renderer/src/ffi/glfw.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-04-26 22:56:52 -0400
committerLLLL Colonq <llll@colonq>2026-04-26 22:59:25 -0400
commitd943ba194b3cfab18354e96f7be2c1e434d6c073 (patch)
tree786b7c92f3d9abc6a147a59e440982306fc77f55 /crates/renderer/src/ffi/glfw.rs
parent4a22d2573cd4014c3cc0ed784dd2e9d6bed7fb67 (diff)
Update
Diffstat (limited to 'crates/renderer/src/ffi/glfw.rs')
-rw-r--r--crates/renderer/src/ffi/glfw.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/renderer/src/ffi/glfw.rs b/crates/renderer/src/ffi/glfw.rs
new file mode 100644
index 0000000..1b79089
--- /dev/null
+++ b/crates/renderer/src/ffi/glfw.rs
@@ -0,0 +1,7 @@
+use super::egl::*;
+
+#[link(name = "glfw")]
+extern "C" {
+ pub fn glfwGetEGLDisplay() -> EGLDisplay;
+ pub fn glfwGetEGLContext(w: *mut glfw::ffi::GLFWwindow) -> EGLContext;
+}