mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
added webgl bindFramebuffer
This commit is contained in:
Vendored
+2
-2
@@ -313,8 +313,8 @@ class WebGLInterface {
|
|||||||
this.ctx.bindBuffer(target, bufferObj)
|
this.ctx.bindBuffer(target, bufferObj)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
BindFramebuffer: (target, buffer) => {
|
BindFramebuffer: (target, framebuffer) => {
|
||||||
// TODO: BindFramebuffer
|
this.ctx.bindFramebuffer(target, framebuffer ? this.framebuffers[framebuffer] : null)
|
||||||
},
|
},
|
||||||
BindTexture: (target, texture) => {
|
BindTexture: (target, texture) => {
|
||||||
this.ctx.bindTexture(target, texture ? this.textures[texture] : null)
|
this.ctx.bindTexture(target, texture ? this.textures[texture] : null)
|
||||||
|
|||||||
Reference in New Issue
Block a user