projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29c8839
)
Fix read-from-uninitialized in s3vMakeCurrent()
author
Adam Jackson
<ajax@freedesktop.org>
Mon, 27 Dec 2004 22:57:05 +0000
(22:57 +0000)
committer
Adam Jackson
<ajax@freedesktop.org>
Mon, 27 Dec 2004 22:57:05 +0000
(22:57 +0000)
src/mesa/drivers/dri/s3v/s3v_xmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/s3v/s3v_xmesa.c
b/src/mesa/drivers/dri/s3v/s3v_xmesa.c
index ee59eaff095b7290c4dd8fdea69c26a0ccfe2855..84072b14716d70d55f5fba540e025233e69c8782 100644
(file)
--- 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"));