Fix no GPU build after r13728

Review URL: https://codereview.chromium.org/193163002

git-svn-id: http://skia.googlecode.com/svn/trunk@13731 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/rrects.cpp b/gm/rrects.cpp
index 7dd30ca..cc76718 100644
--- a/gm/rrects.cpp
+++ b/gm/rrects.cpp
@@ -89,10 +89,14 @@
                                                             SkIntToScalar(kImageHeight));
 #endif
 
+#if SK_SUPPORT_GPU
         int lastEdgeType = (kEffect_Type == fType) ? kLast_GrEffectEdgeType: 0;
+#else
+        int lastEdgeType = 0;
+#endif
 
         int y = 1;
-        for (int et = (GrEffectEdgeType) 0; et <= lastEdgeType; ++et) {
+        for (int et = 0; et <= lastEdgeType; ++et) {
             int x = 1;
             for (int curRRect = 0; curRRect < kNumRRects; ++curRRect) {
                 bool drew = true;