зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a30b809deb
Коммит
3a03c241e5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче