summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl2/libsdl2/directfb-renderfillrect-fix.patch
diff options
context:
space:
mode:
authorYann Dirson <yann@blade-group.com>2021-02-01 11:23:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-05 08:16:32 +0000
commit9449f2276422a21d5f9b9f05fbc1d79bc1a19f83 (patch)
treebc08ae1b9340c92345cc3c047c992665052d115d /meta/recipes-graphics/libsdl2/libsdl2/directfb-renderfillrect-fix.patch
parent4cb93cd028f171143089a64a1a17b3c9a085d4b2 (diff)
downloadpoky-9449f2276422a21d5f9b9f05fbc1d79bc1a19f83.tar.gz
libsdl2: upgrade to 2.0.14
This version does not support tslib any more, as can be seen by the failed AUH run. Originally-by: Romain Roffé <romain.roffe@blade-group.com> (From OE-Core rev: 5b54e97594ab021a73d3225ed42dac0dfaf3fc15) Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2/directfb-renderfillrect-fix.patch')
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2/directfb-renderfillrect-fix.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2/directfb-renderfillrect-fix.patch b/meta/recipes-graphics/libsdl2/libsdl2/directfb-renderfillrect-fix.patch
deleted file mode 100644
index 83d4f4b1ec..0000000000
--- a/meta/recipes-graphics/libsdl2/libsdl2/directfb-renderfillrect-fix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1# HG changeset patch
2# User Sam Lantinga <slouken@libsdl.org>
3# Date 1590793369 25200
4# Node ID a90089f75990e8b07a1dcf931c5f8a580ae343bf
5# Parent a9b4bd264f3cbedc4f3287b3ec6b32311370ba85
6Fixed bug 5146 - SDL_RenderFillRect doesn't work in DirectFB
7
8Lacky
9
10It looks like refactoring of SDL2 internal API has broken SDL_RenderFillRect for DirectFB. In new version function SDL_RenderFillRect returns 0, but rectangle is not visible.
11
12Replacing "count" with "len" in the argument list for SDL_memcpy in DirectFB_QueueFillRects fixes problem.
13
14--
15
16The patch was imported from the libsdl Mercurial repository
17(https://hg.libsdl.org/SDL) as of changeset id a90089f75990.
18
19Upstream-Status: Backport
20
21Signed-off-by: Mark Jonas <toertel@gmail.com>
22
23diff -r a9b4bd264f3c -r a90089f75990 src/video/directfb/SDL_DirectFB_render.c
24--- a/src/video/directfb/SDL_DirectFB_render.c Thu May 21 00:06:09 2020 -0400
25+++ b/src/video/directfb/SDL_DirectFB_render.c Fri May 29 16:02:49 2020 -0700
26@@ -626,7 +626,7 @@
27 }
28
29 cmd->data.draw.count = count;
30- SDL_memcpy(verts, rects, count);
31+ SDL_memcpy(verts, rects, len);
32 return 0;
33 }