Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
triniwiz committed Feb 27, 2024
1 parent 5b3672d commit e3ee5e7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/canvas/WebGL2/WebGL2RenderingContext/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ export class WebGL2RenderingContext extends WebGL2RenderingContextBase {
}

drawBuffers(buffers: number[]): void {
this._checkArgs('drawBuffers', arguments);
this.native.drawBuffers(buffers);
}

Expand Down Expand Up @@ -262,7 +261,6 @@ export class WebGL2RenderingContext extends WebGL2RenderingContextBase {

//@ts-ignore
getParameter(pname: number): number[] | number | WebGLBuffer | WebGLProgram | WebGLFramebuffer | WebGLRenderbuffer | WebGLTexture | Uint32Array | Int32Array | Float32Array | string | null {
this._checkArgs('getParameter', arguments);
const value = this.native.getParameter(pname);
switch (pname) {
case this.COPY_READ_BUFFER_BINDING:
Expand Down

0 comments on commit e3ee5e7

Please sign in to comment.