Removing use of setView*Mask API.

This commit is contained in:
Branimir Karadžić
2014-09-27 11:31:04 -07:00
parent c659e70bdc
commit fc371fc24c
6 changed files with 32 additions and 66 deletions

View File

@@ -273,7 +273,8 @@ int _main_(int /*_argc*/, char** /*_argv*/)
imguiEndFrame();
// Set view 0 default viewport.
bgfx::setViewRectMask(0x3, 0, 0, width, height);
bgfx::setViewRect(0, 0, 0, width, height);
bgfx::setViewRect(1, 0, 0, width, height);
int64_t now = bx::getHPCounter();
static int64_t last = now;