GL_TRIANGLES works but GL_QUADS displays nothing
问题 So I'm swapping from one program to another, and I can't figure out why but GL_QUADS will no longer display with the same code. To try and figure out why old code was not working, I made this new, simple code and it STILL does not work. The setup: vector <vec3f> squarepoints; vec3f temper(-0.5f, 0.5f, 0.5f); squarepoints.push_back(temper); temper.x += 1.0f; squarepoints.push_back(temper); temper.y -= 1.0f; squarepoints.push_back(temper); temper.x -= 1.0f; squarepoints.push_back(temper);