Index: experimental/PdfViewer/pdf_viewer_main.cpp |
diff --git a/experimental/PdfViewer/pdf_viewer_main.cpp b/experimental/PdfViewer/pdf_viewer_main.cpp |
index 2f1a055e4d63c0c798cd84e08e3c8f3deeaed444..c1b0284d8a658a233909afc9e57f8aa39693446c 100644 |
--- a/experimental/PdfViewer/pdf_viewer_main.cpp |
+++ b/experimental/PdfViewer/pdf_viewer_main.cpp |
@@ -168,7 +168,8 @@ static bool render_page(const SkString& outputDir, |
#if SK_SUPPORT_GPU |
else if (strcmp(FLAGS_config[0], "gpu") == 0) { |
SkAutoTUnref<GrSurface> target; |
- GrContext* gr = gContextFactory.get(GrContextFactory::kNative_GLContextType); |
+ GrContext* gr = gContextFactory.get(GrContextFactory::kNative_GLContextType, |
+ kNone_GrGLStandard); |
if (gr) { |
// create a render target to back the device |
GrTextureDesc desc; |