pyglet vertex list not rendered (AMD driver?)
问题 My machine apparently won't draw vertex lists in pyglet. The following code renders two identical shapes at different positions in the window, one using a vertex list and the other using a straight draw() . The one that's drawn directly renders fine, while the vertex list doesn't render at all. import pyglet window = pyglet.window.Window() w, h = window.get_size() vl = pyglet.graphics.vertex_list( 4, ('v2i', (100,0, 100,h, 200,h, 200,0)), ('c3B', (255,255,255, 255,0,0, 0,255,0, 0,0,255)) )