OpenGL ignores Quads and makes them Triangles
问题 This is the second time I'm making a game engine, but I'm a little stuck right now, since I cannot figure out why this is happening, no matter what object I send, OpenGL only draws a White Triangle on the center of the screen, like this. I've even coppied my old code from my last engine on the Renderer and the Camera Objects, still acts the same, so I´m guessing it has something to do with the Render Script. Renderer: Renderer2D::Renderer2D(const Shader& shader) { this->shader = shader; this-