From 77c167726e07100c7671caab829fe058fafb9516 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Thu, 23 Jan 2025 08:49:29 +0100 Subject: [PATCH] HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro Fixes building for Qt with OpenGL ES. Gbp-Pq: Name 84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch --- GUISupport/Qt/vtkQWidgetTexture.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } }; } -- 2.30.2