Compile warning fix

This commit is contained in:
Jack Andersen 2019-05-10 13:07:33 -10:00
parent e7a4648968
commit 22cb5bb0a8
1 changed files with 1 additions and 0 deletions

View File

@ -386,6 +386,7 @@ class MetalTextureD : public GraphicsDataNode<ITextureD> {
break;
default:
Log.report(logvisor::Fatal, "unsupported tex format");
return;
}
m_cpuSz = width * height * m_pxPitch;