Bug 958420 - The follow up bug for removing one additional PIXEL_FORMAT_A_8. r=mwu.

This commit is contained in:
Solomon Chiu 2014-01-15 18:06:53 +08:00
parent 3849442104
commit 66b3bfc35f

View File

@ -268,9 +268,6 @@ GrallocTextureClientOGL::AllocateForGLRendering(gfx::IntSize aSize)
case gfx::SurfaceFormat::R5G6B5:
format = android::PIXEL_FORMAT_RGB_565;
break;
case gfx::SurfaceFormat::A8:
format = android::PIXEL_FORMAT_A_8;
break;
default:
NS_WARNING("Unsupported surface format");
return false;