mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Remove CS temp fix.
This commit is contained in:
parent
73b4227310
commit
8b5437c2c7
1 changed files with 1 additions and 2 deletions
|
|
@ -80,8 +80,7 @@ public sealed unsafe class LiveMaterialPreviewer : LiveMaterialPreviewerBase
|
|||
|
||||
for (var i = 0; i < _shaderPackage->MaterialElementCount; ++i)
|
||||
{
|
||||
// TODO fix when CS updated
|
||||
ref var parameter = ref ((ShaderPackage.MaterialElement*) ((byte*)_shaderPackage + 0x98))[i];
|
||||
ref var parameter = ref _shaderPackage->MaterialElementsSpan[i];
|
||||
if (parameter.CRC == parameterCrc)
|
||||
{
|
||||
if ((parameter.Offset & 0x3) != 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue