From b52bf11ea564a7220ad0d7ea6db7e50cc310e01e Mon Sep 17 00:00:00 2001 From: Rehkitzdev Date: Wed, 31 May 2023 21:44:30 +0200 Subject: [PATCH] fixed webgl BindFramebuffer parameter --- vendor/wasm/WebGL/webgl.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ---