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 b226e1c4ec
commit 013e9ff633

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;