add #define protection (still incomplete)
This commit is contained in:
parent
70959b6b2f
commit
3bcc97a6e2
|
@ -8,13 +8,13 @@
|
|||
#include <gint/display.h>
|
||||
#include <gint/clock.h>
|
||||
|
||||
static uint32_t frame_interval_min;
|
||||
static uint32_t frame_interval_max;
|
||||
|
||||
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)
|
||||
{
|
||||
|
@ -33,7 +33,7 @@ void render_update(const uint32_t libprof_channel)
|
|||
//dupdate();
|
||||
prof_clear(libprof_channel);
|
||||
prof_enter(libprof_channel);
|
||||
|
||||
#endif
|
||||
render_zbuffer_clear();
|
||||
|
||||
///render_set(dh, dv, roulis, camera);
|
||||
|
|
Loading…
Reference in New Issue