From 6c508885b68e459724984eff6822dac3523fa001 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Wed, 16 Apr 2014 16:07:37 +0000 Subject: [PATCH] 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 --- src/gpu/gl/GrGpuGL.cpp | 1 - 1 file changed, 1 deletion(-) 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