diff options
author | 2011-06-17 15:56:55 +0000 | |
---|---|---|
committer | 2011-06-17 15:56:55 +0000 | |
commit | 90405934c53dc5faa7f1f6b219a92f47f113f519 (patch) | |
tree | 2eeee3ab3cec311777630caa7692598db33b5727 /gpu | |
parent | b092140c1802576d489466a19c58e5dd36c61d88 (diff) |
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
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/src/GrGpuGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |