{"action":"closed","issue":{"url":"https://api.github.com/repos/grimfang4/sdl-gpu/issues/27","repository_url":"https://api.github.com/repos/grimfang4/sdl-gpu","labels_url":"https://api.github.com/repos/grimfang4/sdl-gpu/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/grimfang4/sdl-gpu/issues/27/comments","events_url":"https://api.github.com/repos/grimfang4/sdl-gpu/issues/27/events","html_url":"https://github.com/grimfang4/sdl-gpu/issues/27","id":183089987,"number":27,"title":"Documentation for GPU_Flip","user":{"login":"Abestanis","id":6966049,"avatar_url":"https://avatars.githubusercontent.com/u/6966049?v=3","gravatar_id":"","url":"https://api.github.com/users/Abestanis","html_url":"https://github.com/Abestanis","followers_url":"https://api.github.com/users/Abestanis/followers","following_url":"https://api.github.com/users/Abestanis/following{/other_user}","gists_url":"https://api.github.com/users/Abestanis/gists{/gist_id}","starred_url":"https://api.github.com/users/Abestanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abestanis/subscriptions","organizations_url":"https://api.github.com/users/Abestanis/orgs","repos_url":"https://api.github.com/users/Abestanis/repos","events_url":"https://api.github.com/users/Abestanis/events{/privacy}","received_events_url":"https://api.github.com/users/Abestanis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grimfang4/sdl-gpu/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"grimfang4","id":4241202,"avatar_url":"https://avatars.githubusercontent.com/u/4241202?v=3","gravatar_id":"","url":"https://api.github.com/users/grimfang4","html_url":"https://github.com/grimfang4","followers_url":"https://api.github.com/users/grimfang4/followers","following_url":"https://api.github.com/users/grimfang4/following{/other_user}","gists_url":"https://api.github.com/users/grimfang4/gists{/gist_id}","starred_url":"https://api.github.com/users/grimfang4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimfang4/subscriptions","organizations_url":"https://api.github.com/users/grimfang4/orgs","repos_url":"https://api.github.com/users/grimfang4/repos","events_url":"https://api.github.com/users/grimfang4/events{/privacy}","received_events_url":"https://api.github.com/users/grimfang4/received_events","type":"User","site_admin":false},"assignees":[{"login":"grimfang4","id":4241202,"avatar_url":"https://avatars.githubusercontent.com/u/4241202?v=3","gravatar_id":"","url":"https://api.github.com/users/grimfang4","html_url":"https://github.com/grimfang4","followers_url":"https://api.github.com/users/grimfang4/followers","following_url":"https://api.github.com/users/grimfang4/following{/other_user}","gists_url":"https://api.github.com/users/grimfang4/gists{/gist_id}","starred_url":"https://api.github.com/users/grimfang4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimfang4/subscriptions","organizations_url":"https://api.github.com/users/grimfang4/orgs","repos_url":"https://api.github.com/users/grimfang4/repos","events_url":"https://api.github.com/users/grimfang4/events{/privacy}","received_events_url":"https://api.github.com/users/grimfang4/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-14T16:10:02Z","updated_at":"2016-10-16T13:46:04Z","closed_at":"2016-10-16T13:46:04Z","body":"I am in the process of updating a project from SDL2 to SDL_gpu and I encountered some strange behavior:\r\nThe content of my GPU_Images are drawn to the window, even though they are supposed to be off-screen drawables.\r\nAfter digging trough the source code of SDL_gpu I believe that this is caused by the GPU_Flip function.\r\n\r\nI used the GPU_Flip function to replace all occurrences of SDL_RenderPresent, as it is suggested in the \"Conversion\" section in your README. When I used SDL_RenderPresent on my off-screen drawables, they where not drawn on the window.\r\n\r\nIf it is intended for GPU_Flip draw the content of a GPU_Image to the screen, please document that behavior so others won't make the same mistake as I did."}}
{"actor":{"display_login":"Abestanis"}}