From b68d5f9688794c79165414c78c446570914974fd Mon Sep 17 00:00:00 2001 From: Gregory Wells Date: Mon, 21 Jul 2025 09:32:03 -0400 Subject: [PATCH] remove unused color space --- .../apis/metal/src/presentation_queue/metal_presentation_queue.m | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/apis/metal/src/presentation_queue/metal_presentation_queue.m b/projects/apis/metal/src/presentation_queue/metal_presentation_queue.m index 8ce0d5d..2df6e0b 100644 --- a/projects/apis/metal/src/presentation_queue/metal_presentation_queue.m +++ b/projects/apis/metal/src/presentation_queue/metal_presentation_queue.m @@ -22,7 +22,6 @@ gnReturnCode createMetalPresentationQueue(gnPresentationQueueHandle presentation presentationQueue->presentationQueue = malloc(sizeof(struct gnPlatformPresentationQueue_t)); MTLPixelFormat convertedFormat = mtlGryphnFormatToMetalFormat(presentationInfo.format.format); - CGColorSpaceRef convertedColorSpace = mtlGryphnColorSpaceToMetalColorSpace(presentationInfo.format.colorSpace); MTLTextureDescriptor* textureDescriptor = [[MTLTextureDescriptor alloc] init]; textureDescriptor.pixelFormat = convertedFormat;