From 16e3ddea6a80972aced04b21b1d66377fa95e7c7 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 25 Oct 2012 18:43:28 +0000 Subject: Platform/Engine -> Backend createPlatform -> wrapBackend R=robertphillips@google.com Review URL: https://codereview.appspot.com/6785044 git-svn-id: http://skia.googlecode.com/svn/trunk@6123 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/Test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Test.cpp') 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(gGLContext.get()->gl()); - gGrContext.reset(GrContext::Create(kOpenGL_Shaders_GrEngine, ctx)); + GrBackendContext ctx = reinterpret_cast(gGLContext.get()->gl()); + gGrContext.reset(GrContext::Create(kOpenGL_GrBackend, ctx)); } } if (gGLContext.get()) { -- cgit v1.2.3