Commit 7db897d2 authored by John Harwell's avatar John Harwell
Browse files

Fixed invalid OpenGL operation error caused by calls to glReadPixels(GL_BACK)....

Fixed invalid OpenGL operation error caused by calls to glReadPixels(GL_BACK). With Qt5 QOpenGLWidget, OpenGL commands are draw into offscreen frame buffers so that is probably why the GL_FRONT and GL_BACK buffers do not exist..  Thus, do not call glReadPixels().  Identification operations continue to successfully complete.
parent 2f7790a7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment