diff --git a/metal/4ed_metal_render.mm b/metal/4ed_metal_render.mm index 5cace252..7ac6f35e 100644 --- a/metal/4ed_metal_render.mm +++ b/metal/4ed_metal_render.mm @@ -223,7 +223,6 @@ metal__make_buffer(u32 size, id device){ pipeline_state_descriptor.vertexFunction = vertex_function; pipeline_state_descriptor.fragmentFunction = fragment_function; pipeline_state_descriptor.vertexDescriptor = vertexDescriptor; - pipeline_state_descriptor.sampleCount = mtk_view.sampleCount; pipeline_state_descriptor.colorAttachments[0].pixelFormat = mtk_view.colorPixelFormat; pipeline_state_descriptor.colorAttachments[0].blendingEnabled = YES; pipeline_state_descriptor.colorAttachments[0].alphaBlendOperation = MTLBlendOperationAdd; diff --git a/platform_mac/mac_4ed_metal.mm b/platform_mac/mac_4ed_metal.mm index 19ea4459..0ce3397d 100644 --- a/platform_mac/mac_4ed_metal.mm +++ b/platform_mac/mac_4ed_metal.mm @@ -56,7 +56,6 @@ mac_metal__init(NSWindow *window, Render_Target *target){ [metal->view setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; [metal->view setPaused:YES]; [metal->view setEnableSetNeedsDisplay:NO]; - [metal->view setSampleCount:4]; metal->view.device = MTLCreateSystemDefaultDevice();