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:
@@ -196,7 +196,8 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||
while (!entry::processEvents(width, height, debug, reset) )
|
||||
{
|
||||
// Set view 0 and 1 viewport.
|
||||
bgfx::setViewRectMask(0x3, 0, 0, width, height);
|
||||
bgfx::setViewRect(0, 0, 0, width, height);
|
||||
bgfx::setViewRect(1, 0, 0, width, height);
|
||||
|
||||
// This dummy draw call is here to make sure that view 0 is cleared
|
||||
// if no other draw calls are submitted to view 0.
|
||||
|
||||
Reference in New Issue
Block a user