mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Moving window creation to examples/common.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <bgfx.h>
|
||||
#include <bx/bx.h>
|
||||
#include "../common/entry.h"
|
||||
#include "../common/dbg.h"
|
||||
|
||||
int _main_(int _argc, char** _argv)
|
||||
@@ -26,7 +27,7 @@ int _main_(int _argc, char** _argv)
|
||||
, 0
|
||||
);
|
||||
|
||||
while (true)
|
||||
while (entry::Event::Exit != entry::poll() )
|
||||
{
|
||||
// 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