mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-06 21:17:40 +00:00
Fix WebGLInterface function names
This commit is contained in:
4
vendor/wasm/js/runtime.js
vendored
4
vendor/wasm/js/runtime.js
vendored
@@ -791,7 +791,7 @@ class WebGLInterface {
|
||||
/* Framebuffer objects */
|
||||
BlitFramebuffer: (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) => {
|
||||
this.assertWebGL2();
|
||||
this.ctx.glitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||
this.ctx.blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||
},
|
||||
FramebufferTextureLayer: (target, attachment, texture, level, layer) => {
|
||||
this.assertWebGL2();
|
||||
@@ -822,7 +822,7 @@ class WebGLInterface {
|
||||
|
||||
TexStorage3D: (target, levels, internalformat, width, height, depth) => {
|
||||
this.assertWebGL2();
|
||||
this.ctx.texStorage3D(target, level, internalformat, width, heigh, depth);
|
||||
this.ctx.texStorage3D(target, levels, internalformat, width, height, depth);
|
||||
},
|
||||
TexImage3D: (target, level, internalformat, width, height, depth, border, format, type, size, data) => {
|
||||
this.assertWebGL2();
|
||||
|
||||
Reference in New Issue
Block a user