summaryrefslogtreecommitdiff
path: root/opengl-bindings/src/framebuffer.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-09-04 17:54:01 +0200
committerHampusM <hampus@hampusmat.com>2026-09-04 17:54:01 +0200
commit604ab28401f4238d0b905479877f64d0d386730f (patch)
tree5f6b0ad252cac2342b1f7932024e0bf1c8db286c /opengl-bindings/src/framebuffer.rs
parent977c22a5118d26374017b61a329124ae9381557f (diff)
fix(opengl-bindings): create initialized framebuffer objects
Diffstat (limited to 'opengl-bindings/src/framebuffer.rs')
-rw-r--r--opengl-bindings/src/framebuffer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl-bindings/src/framebuffer.rs b/opengl-bindings/src/framebuffer.rs
index fb93b47..6d16602 100644
--- a/opengl-bindings/src/framebuffer.rs
+++ b/opengl-bindings/src/framebuffer.rs
@@ -15,7 +15,7 @@ impl Framebuffer
let mut inner = 0;
unsafe {
- current_context.fns().GenFramebuffers(1, &raw mut inner);
+ current_context.fns().CreateFramebuffers(1, &raw mut inner);
}
Self { inner }