{"action":"closed","issue":{"url":"https://api.github.com/repos/bkaradzic/bgfx/issues/493","labels_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/493/comments","events_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/493/events","html_url":"https://github.com/bkaradzic/bgfx/issues/493","id":103001924,"number":493,"title":"D3D11 rendering stops working if multiple windows are resized at once","user":{"login":"nem0","id":153526,"avatar_url":"https://avatars.githubusercontent.com/u/153526?v=3","gravatar_id":"","url":"https://api.github.com/users/nem0","html_url":"https://github.com/nem0","followers_url":"https://api.github.com/users/nem0/followers","following_url":"https://api.github.com/users/nem0/following{/other_user}","gists_url":"https://api.github.com/users/nem0/gists{/gist_id}","starred_url":"https://api.github.com/users/nem0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nem0/subscriptions","organizations_url":"https://api.github.com/users/nem0/orgs","repos_url":"https://api.github.com/users/nem0/repos","events_url":"https://api.github.com/users/nem0/events{/privacy}","received_events_url":"https://api.github.com/users/nem0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-25T11:22:40Z","updated_at":"2015-08-26T21:23:39Z","closed_at":"2015-08-26T21:23:39Z","body":"In my app I have two windows - one for editing and one for game view. If they are resized both in the same frame, one of them do not display anything anymore, until its framebuffer is recreated again.\r\n\r\nThis can be easily reproduced in example 22\r\nSteps to reproduce:\r\n\r\n1. add following code to example 22\r\n\r\n\t```cpp\r\n\tstatic int ii = 0;\r\n\tbgfx::reset(1280+ii, 720);\r\n\t++ii;\r\n\t```\r\n\r\n2. add it here: \r\n\r\n\t```cpp\r\n\tif (NULL != win.m_nwh)\r\n\t{\r\n\t\tfbh[viewId] = bgfx::createFrameBuffer(win.m_nwh, win.m_width, win.m_height);\r\n\t}\r\n\t```\r\n\r\n2. start the app\r\n3. press c to create a new window\r\n4. observe that the new window does not display anything\r\n\r\n\r\nNote: Win7, D3D11\r\nNote 2: if there is bgfx::frame(); between reset and createFrameBuffer, everything works fine"}}