diff options
author | Adam Jackson <[email protected]> | 2004-12-27 22:57:05 +0000 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2004-12-27 22:57:05 +0000 |
commit | c6cca6a3b8f3572687544514be52fb400e578878 (patch) | |
tree | 2ce84346fabe2f4e82e97e4311183d3ab196a0da /src/mesa/drivers/dri | |
parent | 29c88396db888e117c3b4408ba0c816b8ad4386b (diff) |
Fix read-from-uninitialized in s3vMakeCurrent()
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/s3v/s3v_xmesa.c | 1 |
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 ee59eaff095..84072b14716 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")); |