diff options
author | 2013-02-07 16:23:58 +0000 | |
---|---|---|
committer | 2013-02-07 16:23:58 +0000 | |
commit | f67bd9d59ec34daba7b6ad3880dd20dd2ccb9739 (patch) | |
tree | 699cb770a88185d5b5e1b68c368011db18303b62 | |
parent | f9d0c95d8ddc2bca7952828201ac369c202bb36b (diff) |
Attempt to fix iOS build.
git-svn-id: http://skia.googlecode.com/svn/trunk@7642 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | experimental/iOSSampleApp/SkSampleUIView.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm index b08414ec4e..12c56929e3 100644 --- a/experimental/iOSSampleApp/SkSampleUIView.mm +++ b/experimental/iOSSampleApp/SkSampleUIView.mm @@ -168,16 +168,16 @@ public: win->attach(fBackend, fMSAASampleCount); glBindFramebuffer(GL_FRAMEBUFFER, fLayerFBO); - GrPlatformRenderTargetDesc desc; + GrBackendRenderTargetDesc desc; desc.fWidth = SkScalarRound(win->width()); desc.fHeight = SkScalarRound(win->height()); - desc.fConfig = kSkia8888_PM_GrPixelConfig; + desc.fConfig = kSkia8888_GrPixelConfig; desc.fRenderTargetHandle = fLayerFBO; glGetIntegerv(GL_SAMPLES, &desc.fSampleCnt); glGetIntegerv(GL_STENCIL_BITS, &desc.fStencilBits); SkSafeUnref(fCurRenderTarget); - fCurRenderTarget = fCurContext->createPlatformRenderTarget(desc); + fCurRenderTarget = fCurContext->wrapBackendRenderTarget(desc); } #endif } |