Skip to content
Snippets Groups Projects
Commit 06a4ef18 authored by Ken Martin's avatar Ken Martin
Browse files

Tiny fix for OpenGL ES 3

parent 329b86a3
No related branches found
No related tags found
No related merge requests found
Charts/Core/Testing/Data/Baseline/TestLinePlot3D_2.png

5.36 KiB

......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment