Skip to content

Commit a839a4c

Browse files
committed
Misc renderer changes
1 parent 4252e72 commit a839a4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Nanoforge/Render/Renderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private void CreateRenderPass()
165165

166166
AttachmentDescription depthAttachment = new()
167167
{
168-
Format = FindDepthFormat(),
168+
Format = DepthTextureFormat,
169169
Samples = SampleCountFlags.Count1Bit,
170170
LoadOp = AttachmentLoadOp.Clear,
171171
StoreOp = AttachmentStoreOp.DontCare,

Nanoforge/Rfg/Import/ChunkImporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class ChunkImporter
7979
ProjectTexture? texture = GetOrLoadChunkTexture(textureName, createdObjects);
8080
if (texture == null)
8181
{
82-
Log.Warning($"Failed to import texture {textureName} for {chunkName} material {material.Name}");
82+
Log.Warning($"Failed to import texture {textureName} for '{chunkName}', material '{material.ShaderName}'");
8383
textures.Add(null);
8484
}
8585
else

0 commit comments

Comments
 (0)