remove unused color space

This commit is contained in:
Gregory Wells
2025-07-21 09:32:03 -04:00
parent 49846d468e
commit b68d5f9688

View File

@@ -22,7 +22,6 @@ gnReturnCode createMetalPresentationQueue(gnPresentationQueueHandle presentation
presentationQueue->presentationQueue = malloc(sizeof(struct gnPlatformPresentationQueue_t)); presentationQueue->presentationQueue = malloc(sizeof(struct gnPlatformPresentationQueue_t));
MTLPixelFormat convertedFormat = mtlGryphnFormatToMetalFormat(presentationInfo.format.format); MTLPixelFormat convertedFormat = mtlGryphnFormatToMetalFormat(presentationInfo.format.format);
CGColorSpaceRef convertedColorSpace = mtlGryphnColorSpaceToMetalColorSpace(presentationInfo.format.colorSpace);
MTLTextureDescriptor* textureDescriptor = [[MTLTextureDescriptor alloc] init]; MTLTextureDescriptor* textureDescriptor = [[MTLTextureDescriptor alloc] init];
textureDescriptor.pixelFormat = convertedFormat; textureDescriptor.pixelFormat = convertedFormat;