Fix the bug of BPP handling code.
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 25 Jun 2014 11:19:10 +0000 (20:19 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 25 Jun 2014 11:19:10 +0000 (20:19 +0900)
Change-Id: Iadd5a548a03067322bc46c5dfbf00c77f16317fe

packaging/liblivebox.spec
src/virtual_window.c

index a49031e..ca4139c 100644 (file)
@@ -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
index 860d493..885fe22 100644 (file)
@@ -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);
        }