complete define protection

now it is possible to use fxengine without libprof
This commit is contained in:
milang 2019-09-02 11:41:37 +02:00
parent cd3b0163cd
commit e18e9b2195
No known key found for this signature in database
GPG Key ID: D287C9D6C33D9035
1 changed files with 5 additions and 2 deletions

View File

@ -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)
{