Index: tools/PictureRenderer.h |
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h |
index 12ed32e07056172a7df6c740319199eeebaf8664..13b60ecb097da7f485599ab6db83d59290bb0c8c 100644 |
--- a/tools/PictureRenderer.h |
+++ b/tools/PictureRenderer.h |
@@ -163,11 +163,7 @@ |
/** |
* Set the backend type. Returns true on success and false on failure. |
*/ |
-#if SK_SUPPORT_GPU |
- bool setDeviceType(SkDeviceTypes deviceType, GrGLStandard gpuAPI = kNone_GrGLStandard) { |
-#else |
bool setDeviceType(SkDeviceTypes deviceType) { |
-#endif |
fDeviceType = deviceType; |
#if SK_SUPPORT_GPU |
// In case this function is called more than once |
@@ -202,7 +198,7 @@ |
return false; |
} |
#if SK_SUPPORT_GPU |
- fGrContext = fGrContextFactory.get(glContextType, gpuAPI); |
+ fGrContext = fGrContextFactory.get(glContextType); |
if (NULL == fGrContext) { |
return false; |
} else { |