[Piglit] [PATCH 1/2] The initial value for interval should be 0 to get the correct value.
Jian Zhao
jian.j.zhao at intel.com
Thu Jul 14 19:46:01 PDT 2011
There is some modification to the test before and now we need to adjust the
intial value of the interval.
Signed-off-by: Jian Zhao <jian.j.zhao at intel.com>
CC: Jesse Barnes <jbarnes at virtuousgeek.org>
CC: Chad Versace <chad at chad-versace.us>
---
tests/glx/glx-swap-event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/glx/glx-swap-event.c b/tests/glx/glx-swap-event.c
index c2ef60e..4e14ff9 100644
--- a/tests/glx/glx-swap-event.c
+++ b/tests/glx/glx-swap-event.c
@@ -67,7 +67,7 @@ static int Intel_swap_event=0;
int event_count_total=0, frames_total=0, message_count=0;
static double time_call=0.0, time_fin=0.0, time_val=0.0;
double swap_start[STACK_L],swap_returned[STACK_L];
-int interval=1;
+int interval=0;
char * swap_event_type=NULL;
/**
* Determine whether or not a GLX extension is supported.
--
1.7.3.1
More information about the Piglit
mailing list