{"action":"created","issue":{"url":"https://api.github.com/repos/tomaka/glium/issues/1139","labels_url":"https://api.github.com/repos/tomaka/glium/issues/1139/labels{/name}","comments_url":"https://api.github.com/repos/tomaka/glium/issues/1139/comments","events_url":"https://api.github.com/repos/tomaka/glium/issues/1139/events","html_url":"https://github.com/tomaka/glium/issues/1139","id":99151831,"number":1139,"title":"Glium deletes render buffers twice","user":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomaka/glium/labels/T-bug","name":"T-bug","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-05T08:31:30Z","updated_at":"2015-08-05T09:36:18Z","closed_at":"2015-08-05T09:22:16Z","body":"I don't the cause, but this is the case according to my driver's debug output."},"comment":{"url":"https://api.github.com/repos/tomaka/glium/issues/comments/127935083","html_url":"https://github.com/tomaka/glium/issues/1139#issuecomment-127935083","issue_url":"https://api.github.com/repos/tomaka/glium/issues/1139","id":127935083,"user":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T09:36:18Z","updated_at":"2015-08-05T09:36:18Z","body":"To give more infos:\r\n\r\n - The warning was in fact not from the real driver's debug output, but from CodeXL's debug output (which seems to intercepts the callback you use)\r\n\r\n - CodeXL shows calls to `glDeleteRenderbuffers` in the calls logs, but doesn't show any call to `glGenRenderbuffers` or `glCreateRenderbuffers`, which is the reason why it thinks I'm destroying a non-existing renderbuffer.\r\n\r\n - However CodeXL doesn't show any DSA/OpenGL 4.5 function in the log at all. For example it doesn't show any function that creates buffers either.\r\n\r\nConclusion: CodeXL doesn't support OpenGL 4.5, which means that it doesn't recognize `glCreateRenderbuffers` and thinks that we're destroying a renderbuffer that hasn't been created while in reality it was created with `glCreateRenderbuffers`.\r\n"}}