From 22cb5bb0a84a02bf836df6411243aa4b53624243 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Fri, 10 May 2019 13:07:33 -1000 Subject: [PATCH] Compile warning fix --- lib/graphicsdev/Metal.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/graphicsdev/Metal.mm b/lib/graphicsdev/Metal.mm index a542c21..a54c316 100644 --- a/lib/graphicsdev/Metal.mm +++ b/lib/graphicsdev/Metal.mm @@ -386,6 +386,7 @@ class MetalTextureD : public GraphicsDataNode { break; default: Log.report(logvisor::Fatal, "unsupported tex format"); + return; } m_cpuSz = width * height * m_pxPitch;