From e1e439c51239f8129e678e437d7afb999232db8a Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Wed, 24 Mar 2004 16:18:05 +0000 Subject: Missing in last commit. --- src/mesa/drivers/dri/savage/savage_xmesa.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/drivers') 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; -- cgit v1.2.3