Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 committed Dec 11, 2024
1 parent 192a15e commit b3be414
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Myra/Graphics2D/UI/Properties/PropertyGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1220,10 +1220,12 @@ private void FillSubGrid(ref int y, IReadOnlyList<Record> records)
{
valueWidget = CreateFileEditor(record, hasSetter, "*.png|*.jpg|*.bmp|*.gif", name => Settings.AssetManager.LoadTexture2D(MyraEnvironment.GraphicsDevice, name));
}
#if !STRIDE
else if (propertyType == typeof(TextureCube))
{
valueWidget = CreateFileEditor(record, hasSetter, "*.dds", name => Settings.AssetManager.LoadTexture2D(MyraEnvironment.GraphicsDevice, name));
}
#endif
#endif
else
{
Expand Down

0 comments on commit b3be414

Please sign in to comment.