This commit is contained in:
Branimir Karadžić
2016-03-06 15:07:35 -08:00
parent db64e34681
commit 9edede219e
2 changed files with 168 additions and 144 deletions

View File

@@ -468,10 +468,10 @@ class Metaballs : public entry::AppI
{
Args args(_argc, _argv);
m_width = 1280;
m_width = 1280;
m_height = 720;
m_debug = BGFX_DEBUG_TEXT;
m_reset = BGFX_RESET_VSYNC;
m_debug = BGFX_DEBUG_TEXT;
m_reset = BGFX_RESET_VSYNC;
bgfx::init(args.m_type, args.m_pciId);
bgfx::reset(m_width, m_height, m_reset);
@@ -778,7 +778,6 @@ class Metaballs : public entry::AppI
Grid* m_grid;
int64_t m_timeOffset;
};
ENTRY_IMPLEMENT_MAIN(Metaballs);