Timeline for Why is my OpenGL triangle not drawing on the screen?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 24 at 11:48 | answer | added | Mornig Star | timeline score: 0 | |
| Jul 9, 2020 at 16:44 | vote | accept | j3lp4 | ||
| Jul 6, 2020 at 18:46 | history | became hot network question | |||
| Jul 6, 2020 at 11:21 | answer | added | j3lp4 | timeline score: 3 | |
| Jul 6, 2020 at 11:12 | comment | added | j3lp4 | After trying out RenderDoc, it seems like the triangle was drawn first, and the screen got cleared (filled with magenta) afterwards. I'm not sure why this happens, as I am clearing the screen before calling the draw methods. I added a call to SDL_GL_SwapWindow after the draw methods, and now I'm getting a triangle, but it is not as vivid colour as it should be and there are text artifacts from my other open programs in the background of the triangle. | |
| Jul 6, 2020 at 10:51 | comment | added | user35344 | Have you tried any graphics debugger (like RenderDoc) to see the internal state of things? | |
| Jul 6, 2020 at 10:47 | review | First posts | |||
| Jul 7, 2020 at 17:00 | |||||
| Jul 6, 2020 at 10:46 | history | asked | j3lp4 | CC BY-SA 4.0 |