summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-03-24 16:18:05 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-03-24 16:18:05 +0000
commite1e439c51239f8129e678e437d7afb999232db8a (patch)
treef86e0450f2529b9bfd6339b7ddb14e524dd64866 /src/mesa
parent67d03433772867abc23272c9cf323b15285dde47 (diff)
Missing in last commit.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/savage/savage_xmesa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c b/src/mesa/drivers/dri/savage/savage_xmesa.c
index 721047bb89..fad490a958 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;