Fix benchmain to build w/ scalar=fixed



git-svn-id: http://skia.googlecode.com/svn/trunk@2500 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index c988e12..e12f274 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -502,10 +502,12 @@
             if (repeatDraw > 1) {
                 SkAutoCanvasRestore acr(&canvas, true);
                 bench->draw(&canvas);
+#if !defined(SK_SCALAR_IS_FIXED)
                 if (gpu) {
                     context->flush();
                     SK_GL(glContext, Finish());
                 }
+#endif
             }
             
             timer.start();
@@ -516,10 +518,12 @@
                     context->flush();
                 }
             }
-            if (gpu) {
+ #if !defined(SK_SCALAR_IS_FIXED)
+           if (gpu) {
                 SK_GL(glContext, Finish());
-            }
-            timer.end();
+           }
+ #endif
+           timer.end();
             
             if (repeatDraw > 1) {
                 SkString str;