diff --git a/src/nv10_exa.c b/src/nv10_exa.c index cb9eb7c..bf5e7d6 100644 --- a/src/nv10_exa.c +++ b/src/nv10_exa.c @@ -504,7 +504,7 @@ setup_picture(NVPtr pNv, PicturePtr pict, PixmapPtr pixmap, int unit, uint32_t *color, uint32_t *alpha) { struct nouveau_pushbuf *push = pNv->pushbuf; - uint32_t shift, source; + uint32_t shift, source = 0; if (pict && pict->pDrawable) { if (!setup_texture(pNv, unit, pict, pixmap))