You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
463 B

2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
3 years ago
  1. #include "main-window.hpp"
  2. #include "obs-manager.hpp"
  3. #include <gtkmm/application.h>
  4. #include <GL/freeglut.h>
  5. int main(int argc, char *argv[])
  6. {
  7. auto app = Gtk::Application::create(argc, argv, "xyz.dwayne.screenrecorder");
  8. auto obs = new OBSManager();
  9. // This just initializes OpenGL.
  10. // The program won't run if OpenGL hasn't been initialized.
  11. glutInit(&argc, argv);
  12. MainWindow win(app, obs);
  13. return app->run(win);
  14. }