mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Removing use of setView*Mask API.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user