Skip to content

Commit 25d2f29

Browse files
committed
fix: Log warning for any non-ACE/DDS textures in content
1 parent 5e59187 commit 25d2f29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/RunActivity/Viewer3D/Materials.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ Texture2D invalid()
145145
}
146146
}
147147
else
148+
{
149+
Trace.TraceWarning("Unsupported texture format: {0}", path);
148150
return defaultTexture;
151+
}
149152

150153
Textures.Add(path, texture);
151154
return texture;

0 commit comments

Comments
 (0)