Skip to content
Browse files

fixed matrixstack ctor

  • Loading branch information...
1 parent 40b0382 commit 7f863e41c778f3cbf8b9d2abc9287cd75613e653 @Dav1dde committed Jan 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gl3n/ext/matrixstack.d
View
2 gl3n/ext/matrixstack.d
@@ -21,7 +21,7 @@ struct MatrixStack(T) if(is_matrix!T) {
/// Sets the stacks initial size to $(B depth) elements
this(size_t depth = 16) pure nothrow {
- stack.length = 16;
+ stack.length = depth;
}
/// Sets the top matrix

0 comments on commit 7f863e4

Please sign in to comment.
Something went wrong with that request. Please try again.