Bug 889969 - Inform Skia whether we support GL_OES_rgb8_rgba8 or not r=mattwoodrow

---
 gfx/gl/GLContextSkia.cpp | 4 ++++
 1 file changed, 4 insertions(+)
This commit is contained in:
George Wright 2013-07-03 14:34:33 -04:00
Родитель a30b809deb
Коммит 3a03c241e5
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -325,6 +325,10 @@ const GLubyte* glGetString_mozilla(GrGLenum name)
strcat(extensionsString, "GL_EXT_packed_depth_stencil ");
}
if (sGLContext.get()->IsExtensionSupported(GLContext::OES_rgb8_rgba8)) {
strcat(extensionsString, "GL_OES_rgb8_rgba8 ");
}
extensionsStringBuilt = true;
}