aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrContextFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrContextFactory.cpp')
-rwxr-xr-xsrc/gpu/GrContextFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrContextFactory.cpp b/src/gpu/GrContextFactory.cpp
index 7df19177eb..1a3864ac14 100755
--- a/src/gpu/GrContextFactory.cpp
+++ b/src/gpu/GrContextFactory.cpp
@@ -75,7 +75,7 @@ GrContext* GrContextFactory::get(GLContextType type, GrGLStandard forcedGpuAPI)
glCtx->makeCurrent();
GrBackendContext p3dctx = reinterpret_cast<GrBackendContext>(glInterface.get());
- grCtx.reset(GrContext::Create(kOpenGL_GrBackend, p3dctx, fGlobalOptions));
+ grCtx.reset(GrContext::Create(kOpenGL_GrBackend, p3dctx, &fGlobalOptions));
if (!grCtx.get()) {
return NULL;
}