diff --git a/applications/osgviewer/osgviewer.cpp b/applications/osgviewer/osgviewer.cpp index 350b7588a..7e99a2a49 100644 --- a/applications/osgviewer/osgviewer.cpp +++ b/applications/osgviewer/osgviewer.cpp @@ -145,6 +145,6 @@ int main(int argc, char** argv) viewer.realize(); - viewer.run(); + return viewer.run(); }