Skip to content Skip to sidebar Skip to footer

Pyglet GL_QUADS And GL_POLYGON Not Working Properly

I'm trying to write a simple game and for some reason the graphics primitives aren't working properly on my machine (Win7/NVIDIA Quadro K2100M). I'm trying to draw a rectangle but

Solution 1:

I'm so stupid: I put the points in the wrong order so it drew (top left, bottom left, top right, bottom right) and of course this would be the result X_X


Post a Comment for "Pyglet GL_QUADS And GL_POLYGON Not Working Properly"