diff options
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/cogl/cogl-1.0/test-backface-culling.c-fix-may-be-used-uninitialize.patch | 35 | ||||
-rw-r--r-- | meta/recipes-graphics/cogl/cogl-1.0_1.22.4.bb | 2 |
2 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-graphics/cogl/cogl-1.0/test-backface-culling.c-fix-may-be-used-uninitialize.patch b/meta/recipes-graphics/cogl/cogl-1.0/test-backface-culling.c-fix-may-be-used-uninitialize.patch deleted file mode 100644 index 479a0ff4b5..0000000000 --- a/meta/recipes-graphics/cogl/cogl-1.0/test-backface-culling.c-fix-may-be-used-uninitialize.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From a51f61d675a0e7d6649182c6a1325ceab8342df2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Mon, 4 Jan 2016 22:47:29 -0800 | ||
4 | Subject: [PATCH] test-backface-culling.c: fix may be used uninitialized error | ||
5 | |||
6 | Fixed when gcc -O: | ||
7 | test-backface-culling.c:206:7: error: 'cull_front' may be used uninitialized in this function [-Werror=maybe-uninitialized] | ||
8 | | validate_part (framebuffer, | ||
9 | | ^ | ||
10 | | cc1: some warnings being treated as errors | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
15 | --- | ||
16 | tests/conform/test-backface-culling.c | 3 ++- | ||
17 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/tests/conform/test-backface-culling.c b/tests/conform/test-backface-culling.c | ||
20 | index e90c2f5..7c45592 100644 | ||
21 | --- a/tests/conform/test-backface-culling.c | ||
22 | +++ b/tests/conform/test-backface-culling.c | ||
23 | @@ -164,7 +164,8 @@ validate_result (CoglFramebuffer *framebuffer, int y_offset) | ||
24 | |||
25 | for (draw_num = 0; draw_num < 16; draw_num++) | ||
26 | { | ||
27 | - CoglBool cull_front, cull_back; | ||
28 | + CoglBool cull_front = FALSE; | ||
29 | + CoglBool cull_back = FALSE; | ||
30 | CoglPipelineCullFaceMode cull_mode; | ||
31 | |||
32 | if (USE_LEGACY_STATE (draw_num)) | ||
33 | -- | ||
34 | 1.7.9.5 | ||
35 | |||
diff --git a/meta/recipes-graphics/cogl/cogl-1.0_1.22.4.bb b/meta/recipes-graphics/cogl/cogl-1.0_1.22.4.bb index 432025233b..8e61c19f5d 100644 --- a/meta/recipes-graphics/cogl/cogl-1.0_1.22.4.bb +++ b/meta/recipes-graphics/cogl/cogl-1.0_1.22.4.bb | |||
@@ -1,7 +1,5 @@ | |||
1 | require cogl-1.0.inc | 1 | require cogl-1.0.inc |
2 | 2 | ||
3 | SRC_URI += "file://test-backface-culling.c-fix-may-be-used-uninitialize.patch \ | ||
4 | " | ||
5 | SRC_URI[archive.md5sum] = "31755015a865c4af51ac84f6e53af8ab" | 3 | SRC_URI[archive.md5sum] = "31755015a865c4af51ac84f6e53af8ab" |
6 | SRC_URI[archive.sha256sum] = "5217bf94cbca3df63268a3b79d017725382b9e592b891d1e7dc6212590ce0de0" | 4 | SRC_URI[archive.sha256sum] = "5217bf94cbca3df63268a3b79d017725382b9e592b891d1e7dc6212590ce0de0" |
7 | 5 | ||