This commit is contained in:
Branimir Karadžić
2015-10-23 20:52:22 -07:00
parent 6ffdb3e247
commit 1c51d81006
22 changed files with 97 additions and 54 deletions

View File

@@ -146,14 +146,16 @@ void screenSpaceQuad(float _textureWidth, float _textureHeight, bool _originBott
}
}
int _main_(int /*_argc*/, char** /*_argv*/)
int _main_(int _argc, char** _argv)
{
Args args(_argc, _argv);
uint32_t width = 1280;
uint32_t height = 720;
uint32_t debug = BGFX_DEBUG_TEXT;
uint32_t reset = BGFX_RESET_VSYNC;
bgfx::init();
bgfx::init(args.m_type, args.m_pciId);
bgfx::reset(width, height, reset);
// Create vertex stream declaration.