I can reproduce this bug with Mesa 7.4 indirect (ships with Ubuntu 9.04 x86). It does not occur on Nvidia or Ati binary drivers. This is similar to a Mesa bug that was fixed a few years ago: https://bugs.freedesktop.org/show_bug.cgi?id=7984 According to the specs, the following code should not generate an InvalidOperation error: int list = glGenLists(1); glGetError(); glNewList(list, GL_COMPILE_AND_EXECUTE); glGetError(); glBegin(GL_TRIANGLES); glVertex3f(0, 0, 0); glVertex3f(1, 0, 0); glVertex3f(1, 1, 0); glEnd(); glGetError(); glEndList(); glGetError(); However, the very last call to glGetError() reports GL_INVALID_OPERATION.
This issue does not occur when using GL_COMPILE instead of GL_COMPILE_AND_EXECUTE.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/43.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.