Fixed issue #353.

This commit is contained in:
Branimir Karadžić 2015-04-19 18:12:09 -07:00
parent 11794da949
commit 7904b9d9dd

View file

@ -30,6 +30,7 @@
#include <bx/string.h>
#include <bx/timer.h>
#include "entry/entry.h"
#include "imgui/imgui.h"
#include "nanovg/nanovg.h"
BX_PRAGMA_DIAGNOSTIC_PUSH();
@ -1221,6 +1222,8 @@ int _main_(int /*_argc*/, char** /*_argv*/)
, 0
);
imguiCreate();
NVGcontext* nvg = nvgCreate(1, 0);
bgfx::setViewSeq(0, true);
@ -1266,6 +1269,8 @@ int _main_(int /*_argc*/, char** /*_argv*/)
nvgDelete(nvg);
imguiDestroy();
// Shutdown bgfx.
bgfx::shutdown();