From 90405934c53dc5faa7f1f6b219a92f47f113f519 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Fri, 17 Jun 2011 15:56:55 +0000 Subject: Fix self-assignment Review URL: http://codereview.appspot.com/4631047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1637 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gpu/src/GrGpuGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpu') diff --git a/gpu/src/GrGpuGL.cpp b/gpu/src/GrGpuGL.cpp index e40024a837..60d7fbc96f 100644 --- a/gpu/src/GrGpuGL.cpp +++ b/gpu/src/GrGpuGL.cpp @@ -636,7 +636,7 @@ GrResource* GrGpuGL::onCreatePlatformSurface(const GrPlatformSurfaceDesc& desc) texDesc.fAllocWidth = texDesc.fContentWidth = desc.fWidth; texDesc.fAllocHeight = texDesc.fContentHeight = desc.fHeight; - texDesc.fFormat = texDesc.fFormat; + texDesc.fFormat = desc.fConfig; texDesc.fOrientation = GrGLTexture::kBottomUp_Orientation; texDesc.fStencilBits = desc.fStencilBits; texDesc.fTextureID = desc.fPlatformTexture; -- cgit v1.2.3