mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Update OSMesa test
In the previous commit, I removed the background color arguments from all the constructors from the Canvas class. I had missed the fact that this was used in UnitTestMapperOSMesa.
This commit is contained in:
parent
72b43d7151
commit
9110214e7c
@ -104,7 +104,7 @@ void Render2D(const vtkm::cont::DataSet &ds,
|
||||
|
||||
vtkm::rendering::Scene scene;
|
||||
vtkm::rendering::Color bg(0.2f, 0.2f, 0.2f, 1.0f);
|
||||
vtkm::rendering::CanvasOSMesa canvas(W,H,bg);
|
||||
vtkm::rendering::CanvasOSMesa canvas(W,H);
|
||||
|
||||
scene.AddActor(vtkm::rendering::Actor(ds.GetCellSet(),
|
||||
ds.GetCoordinateSystem(),
|
||||
|
Loading…
Reference in New Issue
Block a user