complete define protection
now it is possible to use fxengine without libprof
This commit is contained in:
parent
cd3b0163cd
commit
e18e9b2195
|
@ -10,13 +10,16 @@
|
|||
#include <gint/display.h>
|
||||
#include <gint/clock.h>
|
||||
|
||||
#ifdef USE_LIBPROF
|
||||
static uint32_t frame_interval_min=1000000;
|
||||
static uint32_t frame_interval_max=1;
|
||||
#endif
|
||||
|
||||
void render_update(const uint32_t libprof_channel)
|
||||
{
|
||||
//dupdate();
|
||||
|
||||
#ifdef USE_LIBPROF
|
||||
static uint32_t frame_interval_min=1000000;
|
||||
static uint32_t frame_interval_max=1;
|
||||
// gestion du temps avec libprof
|
||||
if (prof_elapsed)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue