From: Patrice Mandin Date: Thu, 16 Aug 2007 18:53:29 +0000 (+0200) Subject: nouveau: nv10: create objects needed to clear buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5ed049655d214a8828d5ce68651741c3dff0c66;p=mesa.git nouveau: nv10: create objects needed to clear buffer --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_object.c b/src/mesa/drivers/dri/nouveau/nouveau_object.c index aff6954f066..4169530be67 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_object.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_object.c @@ -43,6 +43,11 @@ void nouveauObjectInit(nouveauContextPtr nmesa) } else { nouveauCreateContextObject(nmesa, NvImageBlit, NV_IMAGE_BLIT); } + if ((nmesa->screen->card->type>=NV_10) && (nmesa->screen->card->typescreen->card->type>=NV_10) && (nmesa->screen->card->type