1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Increase MATIX_STACK_SIZE

This commit is contained in:
Brian Fiete 2024-03-26 07:30:01 -04:00
parent 82b4974a82
commit f47e132921

View file

@ -51,19 +51,19 @@ namespace Beefy.gfx
public float ZDepth { get; set; }
protected DisposeProxy mMatrixDisposeProxy ~ delete _;
const int32 MATIX_STACK_SIZE = 256;
const int32 MATIX_STACK_SIZE = 4096;
public Matrix[] mMatrixStack = new Matrix[MATIX_STACK_SIZE] ~ delete _;
public int32 mMatrixStackIdx = 0;
public Matrix mMatrix;
protected DisposeProxy mDrawLayerDisposeProxy ~ delete _;
const int32 DRAW_LAYER_SIZE = 256;
const int32 DRAW_LAYER_SIZE = 4096;
public DrawLayer[] mDrawLayerStack = new DrawLayer[DRAW_LAYER_SIZE] ~ delete _;
public int32 mDrawLayerStackIdx = 0;
public DrawLayer mDrawLayer;
protected DisposeProxy mColorDisposeProxy ~ delete _;
const int32 COLOR_STACK_SIZE = 256;
const int32 COLOR_STACK_SIZE = 4096;
public Color[] mColorStack = new Color[COLOR_STACK_SIZE] ~ delete _;
public int32 mColorStackIdx = 0;
public Color mColor = Color.White;