You shouldn't worry about the other zeros, the second one is for alpha buffer clearing, the third one for depth buffer clearing. Pay attention that your coordinates don't exceed the maximum resolution. Note that it's also possible to draw vertex arrays. We will not discuss that for now. Draw a triangle in the middle of the screen with a color going smoothly from red to blue to green, and so on.
Simple demo is available here .
Design and graphics by Molasses . Inc. Other product names are trademarks of the respective holders.