Skip to content

Commit 4dad438

Browse files
committed
Fix WebGL clearDepth signature
1 parent 05d87d8 commit 4dad438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/scalajs/dom/raw/WebGL.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ class WebGLRenderingContext extends js.Object {
10121012
/**
10131013
* Sets the clear depth to use with [[WebGLRenderingContext#clear]].
10141014
*/
1015-
def clearDepth(depth: Int): Unit = js.native
1015+
def clearDepth(depth: Double): Unit = js.native
10161016

10171017
/**
10181018
* Sets the stencil value to use with [[WebGLRenderingContext#clear]].

0 commit comments

Comments
 (0)