Bug 970096 - Try a 16 bit OpenGL context as a last result on Android r=bjacob

This commit is contained in:
James Willcox 2014-02-24 16:17:34 -06:00
parent 7ae0a3c889
commit 261134aef1

View File

@ -659,6 +659,11 @@ CreateConfig(EGLConfig* aConfig)
if (depth == 16) {
return CreateConfig(aConfig, 24);
}
// Bug 970096
// Some devices that have 24 bit screens only support 16 bit OpenGL?
if (depth == 24) {
return CreateConfig(aConfig, 16);
}
#endif
return false;
} else {