diff options
| author | HampusM <hampus@hampusmat.com> | 2026-09-04 17:54:01 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-09-04 17:54:01 +0200 |
| commit | 604ab28401f4238d0b905479877f64d0d386730f (patch) | |
| tree | 5f6b0ad252cac2342b1f7932024e0bf1c8db286c | |
| parent | 977c22a5118d26374017b61a329124ae9381557f (diff) | |
| -rw-r--r-- | opengl-bindings/Cargo.toml | 2 | ||||
| -rw-r--r-- | 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 } |
