SDL2: fix toggling fullscreen. dunno how well this works on non-linux-OS
if it works well, then resizing could be made way more responsive too
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}