Fixed create/destroy windows.

This commit is contained in:
Branimir Karadžić
2017-01-26 15:34:11 -08:00
parent cee3a802cc
commit b62fe2749f
5 changed files with 18 additions and 5 deletions

View File

@@ -5812,6 +5812,7 @@ namespace bgfx { namespace gl
{
GL_CHECK(glGenFramebuffers(1, &m_fbo[0]) );
m_denseIdx = UINT16_MAX;
m_numTh = _num;
memcpy(m_attachment, _attachment, _num*sizeof(Attachment) );