forked from pool/MozillaFirefox
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
|
||
|
-
|
||
|
-}
|
||
|
-}
|