From: krajcevski Date: Mon, 2 Jun 2014 15:02:45 +0000 (-0700) Subject: Fix bracket outside of ifdef X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~7437 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=309e86912445879651d52ebbedb67b4ff3f1516c;p=platform%2Fupstream%2FlibSkiaSharp.git Fix bracket outside of ifdef R=jvanverth@google.com, robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/305333003 --- diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp index 9579866..9dc215c 100644 --- a/src/gpu/SkGr.cpp +++ b/src/gpu/SkGr.cpp @@ -223,10 +223,11 @@ static GrTexture* sk_gr_create_bitmap_texture(GrContext* ctx, bitmap = &tmpBitmap; desc.fConfig = SkImageInfo2GrPixelConfig(bitmap->info()); } + } // Is this an ETC1 encoded texture? #if SK_SUPPORT_ETC1 - } else if (cache && ctx->getGpu()->caps()->isConfigTexturable(kETC1_GrPixelConfig)) { + else if (cache && ctx->getGpu()->caps()->isConfigTexturable(kETC1_GrPixelConfig)) { GrTexture *texture = load_etc1_texture(ctx, params, *bitmap, desc); if (NULL != texture) { return texture;