From: Adrian Bunk Date: Tue, 28 Jan 2025 20:40:49 +0000 (+0100) Subject: HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro X-Git-Tag: archive/raspbian/9.3.0+dfsg1-3+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aa87d58bc834995af8e137d0993768126a9de09d;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"); } }; }