Commit 83d3d738 authored by Ken Martin's avatar Ken Martin Committed by Kitware Robot

Merge topic 'es30_fix'

a08d6784 And whoa I committed a png undo that
06a4ef18 Tiny fix for OpenGL ES 3
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
Merge-request: !219
parents 0e07183d a08d6784
......@@ -480,8 +480,9 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int *rgba)
GLint fboBind = 0;
glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &fboBind);
GLint attachment = GL_BACK_LEFT;
#ifdef GL_DRAW_BUFFER
glGetIntegerv(GL_DRAW_BUFFER, &attachment);
#endif
// 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
......
Markdown is supported
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