aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
blob: f0dca8291d1427b49e4f74c9f719c5380f2a173c (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "../include/QuickMedia.hpp"
#include <unistd.h>
#include <X11/Xlib.h>

int main(int argc, char **argv) {
    setenv("__GL_THREADED_OPTIMIZATIONS", "0", 1);
    XInitThreads();
    setlocale(LC_ALL, "C"); // Sigh... stupid C
    QuickMedia::Program program;
    return program.run(argc, argv);
}