dri: Store the loader private passed in at dri context creation
[mesa.git] / src / mesa / drivers / dri / ffb / ffb_tris.c
index d785c1571812c1e9e47221a8818e154b9cc26a7c..8bf5ae498fd93c4b433bbf6c19ed3d5c176c1f22 100644 (file)
@@ -351,8 +351,8 @@ static struct {
 
 #define LOCAL_VARS(n)                          \
    ffbContextPtr fmesa = FFB_CONTEXT(ctx);     \
-   __DRIdrawablePrivate *dPriv = fmesa->driDrawable; \
-   ffb_color color[n];                         \
+   __DRIdrawable *dPriv = fmesa->driDrawable; \
+   ffb_color color[n] = { { 0 } };             \
    (void) color; (void) dPriv;
 
 /***********************************************************************