{"action":"created","issue":{"url":"https://api.github.com/repos/Qfusion/qfusion/issues/354","repository_url":"https://api.github.com/repos/Qfusion/qfusion","labels_url":"https://api.github.com/repos/Qfusion/qfusion/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/Qfusion/qfusion/issues/354/comments","events_url":"https://api.github.com/repos/Qfusion/qfusion/issues/354/events","html_url":"https://github.com/Qfusion/qfusion/issues/354","id":180452044,"number":354,"title":"R_EndFrame: Assertion `qglGetError() == 0' failed.","user":{"login":"viciious","id":1173058,"avatar_url":"https://avatars.githubusercontent.com/u/1173058?v=3","gravatar_id":"","url":"https://api.github.com/users/viciious","html_url":"https://github.com/viciious","followers_url":"https://api.github.com/users/viciious/followers","following_url":"https://api.github.com/users/viciious/following{/other_user}","gists_url":"https://api.github.com/users/viciious/gists{/gist_id}","starred_url":"https://api.github.com/users/viciious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viciious/subscriptions","organizations_url":"https://api.github.com/users/viciious/orgs","repos_url":"https://api.github.com/users/viciious/repos","events_url":"https://api.github.com/users/viciious/events{/privacy}","received_events_url":"https://api.github.com/users/viciious/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-01T11:30:24Z","updated_at":"2016-10-01T11:38:52Z","closed_at":null,"body":"`glClear()` generates the 0x506 code if the active draw buffer status is not \"complete\".\r\nhttps://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/main/clear.c#n176\r\n\r\nThis code\r\nhttps://gist.github.com/dnk777/86dba154bd0b95ae4f39d4787f9eb0c0\r\nhas following output:\r\n```\r\n====== Warsow Initialized ======\r\nCouldn't execute: autoexec_postinit.cfg\r\nread fbo id: 15, draw fbo id: 15\r\nread fbo attachments:\r\nattachment COLOR0: type 0x1702\r\nattachment DEPTH: type 0x8d41\r\nattachment STENCIL: type 0x0\r\ndraw fbo attachments:\r\nattachment COLOR0: type 0x1702\r\nattachment DEPTH: type 0x8d41\r\nattachment STENCIL: type 0x0\r\nUnsupported\r\nColor buffer bit\r\nDepth buffer bit\r\nwarsow.x86_64: /home/***/qfusion/source/ref_gl/r_backend.c:***: RB_Clear: Assertion `qglGetError() == 0' failed.\r\nzsh: abort (core dumped)  ./warsow\r\n```\r\nLooks like framebuffer attachment format is not supported.\r\n\r\nResult of `RFB_CheckObjectStatus()` is ignored:\r\n https://github.com/Qfusion/qfusion/blob/master/source/ref_gl/r_backend.c#L654\r\nThis branch is selected in `RFB_CheckObjectStatus()`:\r\nhttps://github.com/Qfusion/qfusion/blob/master/source/ref_gl/r_framebuffer.c#L604"},"comment":{"url":"https://api.github.com/repos/Qfusion/qfusion/issues/comments/250907820","html_url":"https://github.com/Qfusion/qfusion/issues/354#issuecomment-250907820","issue_url":"https://api.github.com/repos/Qfusion/qfusion/issues/354","id":250907820,"user":{"login":"dnk777","id":17530718,"avatar_url":"https://avatars.githubusercontent.com/u/17530718?v=3","gravatar_id":"","url":"https://api.github.com/users/dnk777","html_url":"https://github.com/dnk777","followers_url":"https://api.github.com/users/dnk777/followers","following_url":"https://api.github.com/users/dnk777/following{/other_user}","gists_url":"https://api.github.com/users/dnk777/gists{/gist_id}","starred_url":"https://api.github.com/users/dnk777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnk777/subscriptions","organizations_url":"https://api.github.com/users/dnk777/orgs","repos_url":"https://api.github.com/users/dnk777/repos","events_url":"https://api.github.com/users/dnk777/events{/privacy}","received_events_url":"https://api.github.com/users/dnk777/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T11:38:52Z","updated_at":"2016-10-01T11:38:52Z","body":"If I print \"Complete!\" and \"Unsupported\" in `RFB_CheckobjectStatus()`, output is\r\nhttps://gist.github.com/dnk777/cd9898b25efa86fabf2b66614fbcc3de\r\nand it crashes\r\n```\r\n**** ~/warsow_21 % ./warsow.x86_64 +set fs_usehomedir 1 +set r_hdr 0 +set r_bloom 0 >wsw.txt 2&>1\r\nzsh: abort (core dumped)  ./warsow.x86_64 +set fs_usehomedir 1 +set r_hdr 0 +set r_bloom 0 > wsw.txt 2&\r\n```"}}
{"actor":{"display_login":"dnk777"}}