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,8 @@
|
||||
#include <bgfx.h>
|
||||
#include <bx/timer.h>
|
||||
#include <bx/readerwriter.h>
|
||||
#include "entry.h"
|
||||
#include "dbg.h"
|
||||
#include "entry/entry.h"
|
||||
#include "fpumath.h"
|
||||
#include "processevents.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -334,7 +332,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