From 604ab28401f4238d0b905479877f64d0d386730f Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 4 Sep 2026 17:54:01 +0200 Subject: fix(opengl-bindings): create initialized framebuffer objects --- opengl-bindings/Cargo.toml | 2 +- opengl-bindings/src/framebuffer.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opengl-bindings/Cargo.toml b/opengl-bindings/Cargo.toml index e46a818..ca8a400 100644 --- a/opengl-bindings/Cargo.toml +++ b/opengl-bindings/Cargo.toml @@ -72,7 +72,7 @@ gl_commands = [ "Scissor", "DepthFunc", "PixelStorei", - "GenFramebuffers", + "CreateFramebuffers", "DeleteFramebuffers", "NamedFramebufferTexture", "BindFramebuffer", 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 } -- cgit v1.2.3-18-g5258