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) {