forked from enlightenment/efl
Evas (gl_x11 engine): Fix compiler warning about get_time function.
SVN revision: 67058
This commit is contained in:
parent
477c7b9582
commit
2e70a02465
|
@ -1242,16 +1242,16 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i
|
||||||
|
|
||||||
//#define FRAMECOUNT 1
|
//#define FRAMECOUNT 1
|
||||||
|
|
||||||
//#ifdef FRAMECOUNT
|
#ifdef FRAMECOUNT
|
||||||
static double
|
static double
|
||||||
get_time(void)
|
get_time(void)
|
||||||
{
|
{
|
||||||
struct timeval timev;
|
struct timeval timev;
|
||||||
|
|
||||||
gettimeofday(&timev, NULL);
|
gettimeofday(&timev, NULL);
|
||||||
return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000);
|
return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000);
|
||||||
}
|
}
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
static int safe_native = -1;
|
static int safe_native = -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue