From 3a03c241e51df07bd8f9aa9e9cc05ce128f71a1b Mon Sep 17 00:00:00 2001 From: George Wright Date: Wed, 3 Jul 2013 14:34:33 -0400 Subject: [PATCH] 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(+) --- gfx/gl/GLContextSkia.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/gl/GLContextSkia.cpp b/gfx/gl/GLContextSkia.cpp index 26bfe80960dd..da5551ffa332 100644 --- a/gfx/gl/GLContextSkia.cpp +++ b/gfx/gl/GLContextSkia.cpp @@ -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; }