Commit 06a4ef18 authored by Ken Martin's avatar Ken Martin
Browse files

Tiny fix for OpenGL ES 3

parent 329b86a3
......@@ -480,8 +480,9 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int *rgba)
GLint fboBind = 0;
GLint attachment = GL_BACK_LEFT;
glGetIntegerv(GL_DRAW_BUFFER, &attachment);
// GL seems odd with its handling of left/right.
// if it says we are using GL_FRONT or GL_BACK
// then convert those to GL_FRONT_LEFT and
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