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

#include "main-window.hpp"
#include "obs-manager.hpp"
#include <gtkmm/application.h>
#include <GL/freeglut.h>
int main(int argc, char *argv[])
{
auto app = Gtk::Application::create(argc, argv, "xyz.dwayne.screenrecorder");
auto obs = new OBSManager();
// This just initializes OpenGL.
// The program won't run if OpenGL hasn't been initialized.
glutInit(&argc, argv);
MainWindow win(app, obs);
return app->run(win);
}