mirror of
https://github.com/overte-org/overte.git
synced 2025-05-02 23:29:33 +02:00
28 lines
No EOL
596 B
C++
28 lines
No EOL
596 B
C++
//
|
|
// main.cpp
|
|
// gvr-interface/src
|
|
//
|
|
// Created by Stephen Birarda on 11/17/14.
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include "GVRMainWindow.h"
|
|
#include "GVRInterface.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
GVRInterface app(argc, argv);
|
|
|
|
GVRMainWindow mainWindow;
|
|
#ifdef ANDROID
|
|
mainWindow.showFullScreen();
|
|
#else
|
|
mainWindow.showMaximized();
|
|
#endif
|
|
|
|
app.setMainWindow(&mainWindow);
|
|
|
|
return app.exec();
|
|
} |