Set a number of valid attachments

This commit is contained in:
Blaž Tomažič
2018-12-28 10:57:39 +01:00
parent e4f4c996ce
commit a562f3f5a9

View File

@@ -3045,6 +3045,7 @@ namespace bgfx { namespace mtl
{
BX_UNUSED(_format, _depthFormat);
m_swapChain = BX_NEW(g_allocator, SwapChainMtl);
m_num = 0;
m_width = _width;
m_height = _height;
m_nwh = _nwh;