Skip to content

Commit 125e81c

Browse files
authored
Wrong WebGLRenderingContext interface definition for pixelStorei
1 parent 608a830 commit 125e81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lib.dom.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15956,7 +15956,7 @@ interface WebGLRenderingContextBase {
1595615956
isTexture(texture: WebGLTexture | null): GLboolean;
1595715957
lineWidth(width: GLfloat): void;
1595815958
linkProgram(program: WebGLProgram): void;
15959-
pixelStorei(pname: GLenum, param: GLint): void;
15959+
pixelStorei(pname: GLenum, param: GLint | GLboolean): void;
1596015960
polygonOffset(factor: GLfloat, units: GLfloat): void;
1596115961
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
1596215962
renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;

0 commit comments

Comments
 (0)