equal
deleted
inserted
replaced
1 # HG changeset patch |
|
2 # User Dirk Mueller <dmueller@suse.com> |
|
3 # Date 1414618964 0 |
|
4 # Wed Oct 29 21:42:44 2014 +0000 |
|
5 # Node ID 8e3825b2d12a9f295b6ff9a972340b9d84fce068 |
|
6 # Parent 262e4847ad6cca40d7375e40a0d6ebe8b372e3d3 |
|
7 Bug 1088588 - fix ifdef in X11TextureSourceOGL.cpp, r?nical |
|
8 |
|
9 diff --git a/gfx/layers/opengl/X11TextureSourceOGL.cpp b/gfx/layers/opengl/X11TextureSourceOGL.cpp |
|
10 --- a/gfx/layers/opengl/X11TextureSourceOGL.cpp |
|
11 +++ b/gfx/layers/opengl/X11TextureSourceOGL.cpp |
|
12 @@ -94,14 +94,14 @@ X11TextureSourceOGL::ContentTypeToSurfac |
|
13 switch (aType) { |
|
14 case gfxContentType::COLOR: |
|
15 return SurfaceFormat::R8G8B8X8; |
|
16 case gfxContentType::COLOR_ALPHA: |
|
17 return SurfaceFormat::R8G8B8A8; |
|
18 default: |
|
19 return SurfaceFormat::UNKNOWN; |
|
20 } |
|
21 } |
|
22 |
|
23 +} |
|
24 +} |
|
25 + |
|
26 #endif |
|
27 - |
|
28 -} |
|
29 -} |
|