Skip to content

Commit 773fa70

Browse files
committed
Merge pull request scala-js#128 from mseddon/webgl-clear-depth
Fix WebGL clearDepth signature
2 parents 05d87d8 + 4dad438 commit 773fa70

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)