Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk committed Oct 15, 2024
1 parent d5b2c41 commit 6868c36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/public/engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ class F3D_EXPORT engine
* Engine constructor. This is a private method.
* The user must rely on factories to create the engine instance.
*/
engine(const std::optional<window::Type>& windowType, bool offscreen,
const context::function& loader);
engine(
const std::optional<window::Type>& windowType, bool offscreen, const context::function& loader);
};
}

Expand Down
3 changes: 2 additions & 1 deletion library/src/window_impl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ window_impl::window_impl(const options& options, const std::optional<Type>& type
#if F3D_MODULE_EXTERNAL_RENDERING
if (oglRenWin->IsA("vtkExternalOpenGLRenderWindow"))
{
// We need to call vtkOpenGLRenderWindow function because vtkGenericOpenGLRenderWindow is reimplementing it incorrectly
// We need to call vtkOpenGLRenderWindow function because vtkGenericOpenGLRenderWindow is
// reimplementing it incorrectly
oglRenWin->vtkOpenGLRenderWindow::OpenGLInit();
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion library/testing/TestSDKEngineExceptions.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int TestSDKEngineExceptions(int argc, char* argv[])
<< std::endl;
return EXIT_FAILURE;
}
catch (const f3d::engine::no_window_exception& ex)
catch (const f3d::context::loading_exception& ex)
{
std::cout << ex.what() << std::endl;
}
Expand Down

0 comments on commit 6868c36

Please sign in to comment.