aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGpuGL.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-16 16:07:37 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-16 16:07:37 +0000
commit6c508885b68e459724984eff6822dac3523fa001 (patch)
treea080f8edd76af0ae561d88e06407395799d1286c /src/gpu/gl/GrGpuGL.cpp
parentd393b17cf3427bd6f6255f8670067d9aa529e409 (diff)
Double assignment in GrGpuGL::configToGLFormats()
Remove the first one. R=hcm@google.com, bsalomon@google.com BUG=skia:2427 Author: siglesias@igalia.com Review URL: https://codereview.chromium.org/240123002 git-svn-id: http://skia.googlecode.com/svn/trunk@14222 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGpuGL.cpp')
-rw-r--r--src/gpu/gl/GrGpuGL.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
index 4c6f2fcaf1..a2a6ac3b3b 100644
--- a/src/gpu/gl/GrGpuGL.cpp
+++ b/src/gpu/gl/GrGpuGL.cpp
@@ -2491,7 +2491,6 @@ bool GrGpuGL::configToGLFormats(GrPixelConfig config,
break;
case kIndex_8_GrPixelConfig:
if (this->caps()->eightBitPaletteSupport()) {
- *internalFormat = GR_GL_PALETTE8_RGBA8;
// glCompressedTexImage doesn't take external params
*externalFormat = GR_GL_PALETTE8_RGBA8;
// no sized/unsized internal format distinction here