Fixes building for Qt with OpenGL ES.
Gbp-Pq: Name 84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch
#include "vtkOpenGLResourceFreeCallback.h"
#include "vtkOpenGLState.h"
-#include "vtkOpenGLError.h"
+//#include "vtkOpenGLError.h"
#include <QGraphicsProxyWidget>
#include <QGraphicsScene>
}
this->Create2DFromRaw(width, height, 4, VTK_UNSIGNED_CHAR, this->ImageBuffer);
- vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw");
+ //vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw");
}
};
}