diff options
Diffstat (limited to 'tests/Test.cpp')
-rw-r--r-- | tests/Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Test.cpp b/tests/Test.cpp index deb83483c2..07107bc934 100644 --- a/tests/Test.cpp +++ b/tests/Test.cpp @@ -93,8 +93,8 @@ GrContext* GpuTest::GetContext() { if (NULL == gGrContext.get()) { gGLContext.init(); if (gGLContext.get()->init(800, 600)) { - GrPlatform3DContext ctx = reinterpret_cast<GrPlatform3DContext>(gGLContext.get()->gl()); - gGrContext.reset(GrContext::Create(kOpenGL_Shaders_GrEngine, ctx)); + GrBackendContext ctx = reinterpret_cast<GrBackendContext>(gGLContext.get()->gl()); + gGrContext.reset(GrContext::Create(kOpenGL_GrBackend, ctx)); } } if (gGLContext.get()) { |