mirror of https://github.com/AxioDL/boo.git
Compile warning fix
This commit is contained in:
parent
e7a4648968
commit
22cb5bb0a8
|
@ -386,6 +386,7 @@ class MetalTextureD : public GraphicsDataNode<ITextureD> {
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Log.report(logvisor::Fatal, "unsupported tex format");
|
Log.report(logvisor::Fatal, "unsupported tex format");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_cpuSz = width * height * m_pxPitch;
|
m_cpuSz = width * height * m_pxPitch;
|
||||||
|
|
Loading…
Reference in New Issue