summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/s3v
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2004-12-27 22:57:05 +0000
committerAdam Jackson <ajax@freedesktop.org>2004-12-27 22:57:05 +0000
commitc6cca6a3b8f3572687544514be52fb400e578878 (patch)
tree2ce84346fabe2f4e82e97e4311183d3ab196a0da /src/mesa/drivers/dri/s3v
parent29c88396db888e117c3b4408ba0c816b8ad4386b (diff)
Fix read-from-uninitialized in s3vMakeCurrent()
Diffstat (limited to 'src/mesa/drivers/dri/s3v')
-rw-r--r--src/mesa/drivers/dri/s3v/s3v_xmesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/s3v/s3v_xmesa.c b/src/mesa/drivers/dri/s3v/s3v_xmesa.c
index ee59eaff09..84072b1471 100644
--- a/src/mesa/drivers/dri/s3v/s3v_xmesa.c
+++ b/src/mesa/drivers/dri/s3v/s3v_xmesa.c
@@ -172,6 +172,7 @@ s3vMakeCurrent(__DRIcontextPrivate *driContextPriv,
s3vContextPtr vmesa;
__DRIdrawablePrivate *dPriv = driDrawPriv;
+ vmesa = (s3vContextPtr) dPriv->driContextPriv->driverPrivate;
DEBUG(("s3vMakeCurrent\n"));