mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Added F8 as MSAA toggle in examples.
This commit is contained in:
@@ -14,6 +14,7 @@ int _main_(int _argc, char** _argv)
|
||||
uint32_t width = 1280;
|
||||
uint32_t height = 720;
|
||||
uint32_t debug = BGFX_DEBUG_TEXT;
|
||||
uint32_t reset = BGFX_RESET_NONE;
|
||||
|
||||
bgfx::init();
|
||||
bgfx::reset(width, height);
|
||||
@@ -29,7 +30,7 @@ int _main_(int _argc, char** _argv)
|
||||
, 0
|
||||
);
|
||||
|
||||
while (!processEvents(width, height, debug) )
|
||||
while (!processEvents(width, height, debug, reset) )
|
||||
{
|
||||
// Set view 0 default viewport.
|
||||
bgfx::setViewRect(0, 0, 0, width, height);
|
||||
|
||||
Reference in New Issue
Block a user