Skip to content

Commit

Permalink
window: Fix for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphal committed Jan 20, 2025
1 parent 8e939c1 commit af299df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/window_impl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class window_impl::internals
// Override VTK logic
#ifdef _WIN32
return vtkSmartPointer<vtkF3DWGLRenderWindow>::New();
#elif __linux__
#elif defined(__linux__) || defined(__FreeBSD__)
#if defined(VTK_USE_X)
// try GLX
vtkSmartPointer<vtkRenderWindow> glxRenWin = vtkSmartPointer<vtkF3DGLXRenderWindow>::New();
Expand Down

0 comments on commit af299df

Please sign in to comment.