{"action":"opened","issue":{"url":"https://api.github.com/repos/bkaradzic/bgfx/issues/380","labels_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/380/comments","events_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/380/events","html_url":"https://github.com/bkaradzic/bgfx/issues/380","id":75368669,"number":380,"title":"Release of RenderDoc 0.24 interface corrupts RenderDoc state","user":{"login":"zao","id":260218,"avatar_url":"https://avatars.githubusercontent.com/u/260218?v=3","gravatar_id":"","url":"https://api.github.com/users/zao","html_url":"https://github.com/zao","followers_url":"https://api.github.com/users/zao/followers","following_url":"https://api.github.com/users/zao/following{/other_user}","gists_url":"https://api.github.com/users/zao/gists{/gist_id}","starred_url":"https://api.github.com/users/zao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zao/subscriptions","organizations_url":"https://api.github.com/users/zao/orgs","repos_url":"https://api.github.com/users/zao/repos","events_url":"https://api.github.com/users/zao/events{/privacy}","received_events_url":"https://api.github.com/users/zao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-11T21:41:34Z","updated_at":"2015-05-11T21:41:34Z","closed_at":null,"body":"QueryInterface for the RenderDoc interface is incorrectly implemented in RenderDoc 0.24, accidentally returning a pointer to a non-COM base of their object.\r\n\r\nAs such, invoking Release on the interface in D3D11 graphics debugging code results in corruption of RenderDoc state as an unrelated virtual member function is actually invoked. This manifests as an INVALID_CALL when creating the swap chain shortly afterward.\r\n\r\nMy temporary workaround was to leak the reference until RenderDoc is fixed, I have a pull request open with them."}}