mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
Update shaderOp.cpp
This commit is contained in:
parent
966b109bd6
commit
6a6ab76f36
1 changed files with 4 additions and 4 deletions
|
|
@ -375,8 +375,8 @@ void MatrixInitializeOp::print(Stream& stream)
|
|||
initElem = new IndexOp(initVar, arr);
|
||||
if (cast)
|
||||
{
|
||||
CastOp* cast = new CastOp(initElem, (GFXShaderConstType)(GFXSCT_Float + (cols - 1)));
|
||||
cast->print(stream);
|
||||
CastOp* castOp = new CastOp(initElem, (GFXShaderConstType)(GFXSCT_Float + (cols - 1)));
|
||||
castOp->print(stream);
|
||||
count += cols;
|
||||
}
|
||||
else
|
||||
|
|
@ -395,8 +395,8 @@ void MatrixInitializeOp::print(Stream& stream)
|
|||
{
|
||||
if (cast)
|
||||
{
|
||||
CastOp* cast = new CastOp(initElem, (GFXShaderConstType)(GFXSCT_Float + (cols - 1)));
|
||||
cast->print(stream);
|
||||
CastOp* castOp = new CastOp(initElem, (GFXShaderConstType)(GFXSCT_Float + (cols - 1)));
|
||||
castOp->print(stream);
|
||||
count += cols;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue