diff options
| -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 } |
