aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRehkitzdev <proace137@web.de>2023-05-31 21:44:30 +0200
committerRehkitzdev <proace137@web.de>2023-05-31 21:44:30 +0200
commitb52bf11ea564a7220ad0d7ea6db7e50cc310e01e (patch)
treeca46754996a3388bbb19edf7eb33b9795d47ba4f
parent7915dde43cdbe470c8848489950624cb06139f58 (diff)
fixed webgl BindFramebuffer parameter
-rw-r--r--vendor/wasm/WebGL/webgl.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/wasm/WebGL/webgl.odin b/vendor/wasm/WebGL/webgl.odin
index 04efc785b..4fa6c4c1d 100644
--- a/vendor/wasm/WebGL/webgl.odin
+++ b/vendor/wasm/WebGL/webgl.odin
@@ -50,7 +50,7 @@ foreign webgl {
AttachShader :: proc(program: Program, shader: Shader) ---
BindAttribLocation :: proc(program: Program, index: i32, name: string) ---
BindBuffer :: proc(target: Enum, buffer: Buffer) ---
- BindFramebuffer :: proc(target: Enum, buffer: Buffer) ---
+ BindFramebuffer :: proc(target: Enum, framebuffer: Framebuffer) ---
BindTexture :: proc(target: Enum, texture: Texture) ---
BlendColor :: proc(red, green, blue, alpha: f32) ---
BlendEquation :: proc(mode: Enum) ---