From: Felix Kuehling Date: Wed, 24 Mar 2004 16:18:05 +0000 (+0000) Subject: Missing in last commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1e439c51239f8129e678e437d7afb999232db8a;p=mesa.git Missing in last commit. --- diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c b/src/mesa/drivers/dri/savage/savage_xmesa.c index 721047bb893..fad490a958b 100644 --- a/src/mesa/drivers/dri/savage/savage_xmesa.c +++ b/src/mesa/drivers/dri/savage/savage_xmesa.c @@ -430,6 +430,8 @@ savageCreateContext( const __GLcontextModes *mesaVis, imesa->depth_scale = (imesa->savageScreen->zpp == 2) ? (1.0F/0x10000):(1.0F/0x1000000); + imesa->vertex_dma_buffer = NULL; + /* Uninitialized vertex format. Force setting the vertex state in * savageRenderStart. */ @@ -498,6 +500,8 @@ savageDestroyContext(__DRIcontextPrivate *driContextPriv) if (imesa) { savageTextureObjectPtr next_t, t; + FLUSH_BATCH(imesa); + /* update for multi-tex*/ { int i;