Commits

Michael Ziegler committed 284bcdb

draw a 3 pixel wide line instead of a polygon (the latter somehow looked funny, no idea if that was drawn correctly)

Comments (0)

Files changed (1)

myffmpeg/visualizer_example.py

         nbpoints = len(self.points)
 
         glColor3f( 0.9, 0.3, 0.2 )
-        glBegin( GL_POLYGON )
+        glLineWidth(3);
+        glBegin( GL_LINE_STRIP )
         glVertex2i( 0, 0 )
         glColor3f( 0.9, 0.3, 0.2 )
         for idx, pnt in enumerate(self.points[1:]):