Bug 734081 - Check pixel depth when choosing config on egl, r=cjones

This commit is contained in:
Michael Wu
2012-03-08 17:06:54 -05:00
parent 559433bc44
commit d152d3ffa3
3 changed files with 36 additions and 48 deletions

View File

@@ -78,7 +78,7 @@ nsScreenAndroid::GetPixelDepth(PRInt32 *aPixelDepth)
{
// XXX do we need to lie here about 16bpp? Or
// should we actually check and return the right thing?
*aPixelDepth = 24;
*aPixelDepth = 16;
return NS_OK;
}