forked from pool/MozillaFirefox
113f1f2433
* Fix a startup crash with some combination of hardware and drivers 33.0.1 * Firefox displays a black screen at start-up with certain graphics drivers - adjusted _constraints for ARM - added mozilla-bmo1088588.patch to fix build with EGL (bmo#1088588) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=408
30 lines
794 B
Diff
30 lines
794 B
Diff
# HG changeset patch
|
|
# User Dirk Mueller <dmueller@suse.com>
|
|
# Date 1414618964 0
|
|
# Wed Oct 29 21:42:44 2014 +0000
|
|
# Node ID 8e3825b2d12a9f295b6ff9a972340b9d84fce068
|
|
# Parent 262e4847ad6cca40d7375e40a0d6ebe8b372e3d3
|
|
Bug 1088588 - fix ifdef in X11TextureSourceOGL.cpp, r?nical
|
|
|
|
diff --git a/gfx/layers/opengl/X11TextureSourceOGL.cpp b/gfx/layers/opengl/X11TextureSourceOGL.cpp
|
|
--- a/gfx/layers/opengl/X11TextureSourceOGL.cpp
|
|
+++ b/gfx/layers/opengl/X11TextureSourceOGL.cpp
|
|
@@ -94,14 +94,14 @@ X11TextureSourceOGL::ContentTypeToSurfac
|
|
switch (aType) {
|
|
case gfxContentType::COLOR:
|
|
return SurfaceFormat::R8G8B8X8;
|
|
case gfxContentType::COLOR_ALPHA:
|
|
return SurfaceFormat::R8G8B8A8;
|
|
default:
|
|
return SurfaceFormat::UNKNOWN;
|
|
}
|
|
}
|
|
|
|
+}
|
|
+}
|
|
+
|
|
#endif
|
|
-
|
|
-}
|
|
-}
|