From 8523fcbb78b116ec50952dfdd66931af64837734 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 30 Jun 2019 20:40:03 -0700 Subject: [PATCH] Actually fix Metal compiling --- lib/graphicsdev/Metal.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/graphicsdev/Metal.mm b/lib/graphicsdev/Metal.mm index 98a8ca8..bd2fedb 100644 --- a/lib/graphicsdev/Metal.mm +++ b/lib/graphicsdev/Metal.mm @@ -150,7 +150,7 @@ public: } void waitUntilShadersReady() {} - bool areShadersReady() const { return true; } + bool areShadersReady() { return true; } }; #define MTL_STATIC MTLResourceCPUCacheModeWriteCombined|MTLResourceStorageModeManaged @@ -1780,6 +1780,7 @@ struct MetalCommandQueue : IGraphicsCommandQueue { m_cmdBuf = [m_ctx->m_q commandBuffer]; } } + bool isReady() { return true; } }; void MetalShaderPipeline::draw(MetalCommandQueue& q, size_t start, size_t count) {