From: Adrian Bunk Date: Fri, 21 Jan 2022 20:24:01 +0000 (+0000) Subject: HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro X-Git-Tag: archive/raspbian/9.1.0+really9.1.0+dfsg2-3+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=02548e4706f8b2c7f5b14d0ab9dad4bc52e860cc;p=vtk9.git HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro Fixes building for Qt with OpenGL ES. Gbp-Pq: Name 84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch --- diff --git a/GUISupport/Qt/vtkQWidgetTexture.cxx b/GUISupport/Qt/vtkQWidgetTexture.cxx index 437c9936..e124f4c8 100644 --- a/GUISupport/Qt/vtkQWidgetTexture.cxx +++ b/GUISupport/Qt/vtkQWidgetTexture.cxx @@ -18,7 +18,7 @@ #include "vtkOpenGLResourceFreeCallback.h" #include "vtkOpenGLState.h" -#include "vtkOpenGLError.h" +//#include "vtkOpenGLError.h" #include #include @@ -98,7 +98,7 @@ vtkQWidgetTexture::vtkQWidgetTexture() } this->Create2DFromRaw(width, height, 4, VTK_UNSIGNED_CHAR, this->ImageBuffer); - vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw"); + //vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw"); } }; }