Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,700
    • Issues 2,700
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 911
    • Merge requests 911
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #43
Closed
Open
Created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

Bogus GL_INVALID_OPERATION when calling glGetError inside glNewList() - glEndList() block with GL_COMPILE_AND_EXECUTE

Submitted by Stephen A.

Assigned to mes..@..op.org

Link to original bug (#22014)

Description

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking