~dang-duong/robot-viewer/trunk

Viewing all changes in revision 360.

  • Committer: Francois Keith
  • Date: 2012-09-18 09:03:05 UTC
  • Revision ID: git-v1:3ae35affed597059fa249d7b70c62e88e420276c
Move glFrontFace outside glBegin(GL_TRIANGLES)...glEnd.

the error GL_INVALID_OPERATION is generated if
glFrontFace is executed between the execution
of glBegin and the corresponding execution of glEnd.
Source: http://www.opengl.org/sdk/docs/man/xhtml/glFrontFace.xml

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: