mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
set the alignedarray sizes to maxprobes, reguardless of actual probe count
This commit is contained in:
parent
f031ee9e39
commit
72acec0a3f
|
|
@ -770,7 +770,7 @@ void RenderProbeMgr::render( SceneRenderState *state )
|
|||
|
||||
GFX->setCubeArrayTexture(4, mCubemapArray);
|
||||
GFX->setCubeArrayTexture(5, mIrradArray);
|
||||
|
||||
count = MAXPROBECOUNT;
|
||||
//Final packing
|
||||
AlignedArray<Point4F> _probePositions(count, sizeof(Point4F), (U8*)probePositions.address(), false);
|
||||
AlignedArray<Point4F> _probeBBMin(count, sizeof(Point4F), (U8*)probeBBMin.address(), false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue