From: Adrian Bunk Date: Thu, 26 Sep 2024 16:08:15 +0000 (+0000) Subject: HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro X-Git-Tag: archive/raspbian/9.3.0+dfsg1-1.1+rpi1~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=395f82205cf450efce5d8e1e8bf675a282742abd;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 728b9199..04d8a733 100644 --- a/GUISupport/Qt/vtkQWidgetTexture.cxx +++ b/GUISupport/Qt/vtkQWidgetTexture.cxx @@ -7,7 +7,7 @@ #include "vtkOpenGLResourceFreeCallback.h" #include "vtkOpenGLState.h" -#include "vtkOpenGLError.h" +//#include "vtkOpenGLError.h" #include #include @@ -88,7 +88,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"); } }; }