Skip to content

Commit 20652e2

Browse files
Fix typo in Texture3D.hx clamp.
1 parent ea65a6d commit 20652e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

h3d/mat/Texture3D.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Texture3D extends Texture {
1919
override function clone() {
2020
var old = lastFrame;
2121
preventAutoDispose();
22-
var t = new TextureArray(width, height, depth, null, format);
22+
var t = new Texture3D(width, height, depth, null, format);
2323
h3d.pass.Copy.run(this, t);
2424
lastFrame = old;
2525
return t;

0 commit comments

Comments
 (0)