mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
examples-common: Reogranized sources. Added command interpreter and input bindings support.
This commit is contained in:
@@ -8,10 +8,7 @@
|
||||
#include <bgfx.h>
|
||||
#include <bx/timer.h>
|
||||
#include <bx/uint32_t.h>
|
||||
#include "entry.h"
|
||||
#include "dbg.h"
|
||||
#include "fpumath.h"
|
||||
#include "processevents.h"
|
||||
#include "packrect.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -231,7 +228,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||
|
||||
int64_t timeOffset = bx::getHPCounter();
|
||||
|
||||
while (!processEvents(width, height, debug, reset) )
|
||||
while (!entry::processEvents(width, height, debug, reset) )
|
||||
{
|
||||
// Set view 0 default viewport.
|
||||
bgfx::setViewRect(0, 0, 0, width, height);
|
||||
|
||||
Reference in New Issue
Block a user