Browse Source

Merge pull request #2568 from RehkitzDev/master

fixed webgl BindFramebuffer parameter
gingerBill 2 years ago
parent
commit
5e996a1c02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/wasm/WebGL/webgl.odin

+ 1 - 1
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) ---