]> code.ossystems Code Review - openembedded-core.git/blob
34798c07e98bd5ffb02696dd819971b9d34a4f79
[openembedded-core.git] /
1 --- xserver-xorg-video-psb-0.36.0-ref/src/psb_video.c   2010-06-07 22:17:46.302760345 +0200
2 +++ xserver-xorg-video-psb-0.32/src/psb_video.c 2010-06-10 17:29:23.400003434 +0200
3 @@ -686,8 +684,13 @@
4       * coordinates) to the backing pixmap.
5       */
6  
7 -    while (!psbExaGetSuperOffset(pPixmap, &pre_add, &dstBuf))
8 +    if(!psbExaGetSuperOffset(pPixmap, &pre_add, &dstBuf)){
9         exaMoveInPixmap(pPixmap);
10 +        if(!psbExaGetSuperOffset(pPixmap, &pre_add, &dstBuf)){
11 +             return FALSE;
12 +        }
13 +    }
14 +       
15  
16      dst.buffer = mmKernelBuf(dstBuf);
17      dst.offset = pre_add;