Skip to content

Commit 27041b6

Browse files
committed
fix: graphics ext metal backend format issue
1 parent d2b640b commit 27041b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/pl_graphics_metal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2900,7 +2900,7 @@
29002900
case PL_FORMAT_D32_FLOAT: return MTLPixelFormatDepth32Float;
29012901
case PL_FORMAT_D32_FLOAT_S8_UINT: return MTLPixelFormatDepth32Float_Stencil8;
29022902
case PL_FORMAT_D24_UNORM_S8_UINT: return MTLPixelFormatDepth24Unorm_Stencil8;
2903-
case PL_FORMAT_D16_UNORM_S8_UINT: return MTLPixelFormatDepth16Unorm;
2903+
case PL_FORMAT_D16_UNORM: return MTLPixelFormatDepth16Unorm;
29042904
case PL_FORMAT_R8_SNORM: return MTLPixelFormatR8Unorm;
29052905
case PL_FORMAT_R8_UINT: return MTLPixelFormatR8Uint;
29062906
case PL_FORMAT_R8_SINT: return MTLPixelFormatR8Sint;

0 commit comments

Comments
 (0)