From: Sung-jae Park Date: Wed, 25 Jun 2014 11:19:10 +0000 (+0900) Subject: Fix the bug of BPP handling code. X-Git-Tag: accepted/tizen/mobile/20150530.065423^2~18^2~13^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa658d5e8527d5d92e9ab017e0caee063d124ead;p=apps%2Fnative%2Fwidget%2Fwidget.git Fix the bug of BPP handling code. Change-Id: Iadd5a548a03067322bc46c5dfbf00c77f16317fe --- diff --git a/packaging/liblivebox.spec b/packaging/liblivebox.spec index a49031e..ca4139c 100644 --- a/packaging/liblivebox.spec +++ b/packaging/liblivebox.spec @@ -2,7 +2,7 @@ Name: liblivebox Summary: Livebox development library -Version: 0.8.4 +Version: 0.8.5 Release: 1 Group: HomeTF/Livebox License: Flora diff --git a/src/virtual_window.c b/src/virtual_window.c index 860d493..885fe22 100644 --- a/src/virtual_window.c +++ b/src/virtual_window.c @@ -431,6 +431,7 @@ static void *alloc_stride_fb(void *data, int size, int *stride, int *bpp) } *stride = _stride; + *bpp <<= 3; DbgPrint("bpp: %d, stride: %d\n", *bpp, *stride); }