Timeline for OpenGL nothing being drawn to screen
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 3, 2016 at 14:39 | vote | accept | 0xen | ||
| Jul 3, 2016 at 14:39 | comment | added | 0xen | After fixing the getError bug i found the problem and it was down to me not using 'glewExperimental = true;' and also deleting the shaders without detaching them from the program first, but your answer helped me, thanks! | |
| Jul 3, 2016 at 9:22 | comment | added | 0xen | 1. I'm sure I have 4.5 on my GPU (GTX 1080 8gb) 2. I set it to those 2 lines and you are right I do still see blue. 3. I added a basic glGetError() function and it says I have a invalid enum, but on the line that is calling the check error function. (No clue why that is happening) 4. From what I have understood in the book it says if I set a VAO and don't add any VBO's to it, it will still call the shader and output a point as I define its position in the shader itself and not in a VBO? | |
| Jul 3, 2016 at 2:57 | history | answered | user1118321 | CC BY-SA 3.0 |