diff options
Diffstat (limited to 'src/lx_rotate.c')
-rw-r--r-- | src/lx_rotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lx_rotate.c b/src/lx_rotate.c index c63fb22..eee58c7 100644 --- a/src/lx_rotate.c +++ b/src/lx_rotate.c @@ -61,10 +61,10 @@ LXUpdateFunc(ScreenPtr pScreen, shadowBufPtr pBuf) int nbox = REGION_NUM_RECTS(damage); BoxPtr pbox = REGION_RECTS(damage); - int x, y, w, h, degrees; + int x, y, w, h, degrees = 0; FbStride shaStride; FbBits *shaBits; - int shaBpp, dx, dy, dw, dh; + int shaBpp, dx = 0, dy = 0, dw, dh; int shaXoff, shaYoff; unsigned int srcOffset, dstOffset; PixmapPtr pShadow = pBuf->pPixmap; |