]> code.ossystems Code Review - openembedded-core.git/commit
directfb: fix client->gfx_state initialisation
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 14 Jun 2016 22:51:06 +0000 (15:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Jun 2016 17:13:09 +0000 (18:13 +0100)
commit7b4b67da33beff736dc0286ea24e3860480f9650
tree59534d2fc56e5c1818c30472a493fc8923456dc6
parent43dac97f397143abf61fc1c105ea0e4f2fffb90b
directfb: fix client->gfx_state initialisation

Shortly before the DirectFB 1.7.7 release, an optimisation was added
to CoreGraphicsStateClient_Init() to avoid creating an extended
Graphics State object if it will not later be required:

  4d422fb Client: Create extended Graphics State object when needed for later usage

Unfortunately the client->gfx_state variable used to track the
extended Graphics State object is not initialised, which can lead to
crashes etc due to creation of the Graphics State object erroneously
being skipped.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/directfb/directfb.inc
meta/recipes-graphics/directfb/directfb/fix-client-gfx_state-initialisation.patch [new file with mode: 0644]