DeferredRenderer 1.0
|
#include <QApplication>
#include "Application.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 4 of file main.cpp.
{ QApplication a(argc, argv); // grab an instance of the OpenGL Format class QGLFormat glFormat = QGLFormat::defaultFormat(); // enable the SampleBuffer to allow for multisample glFormat.setSampleBuffers(true); // set the number of Samples per pixel glFormat.setSamples(4); // now set this as the default for all OpenGL windows created QGLFormat::setDefaultFormat(glFormat); Application app; app.show(); return a.exec(); }