Fix bracket outside of ifdef
R=jvanverth@google.com, robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/305333003
This commit is contained in:
parent
0d03db7446
commit
309e869124
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user