dri: Fix problems with unitialized values in dri screen object.
authorPauli Nieminen <suokkos@gmail.com>
Fri, 7 Aug 2009 17:02:22 +0000 (10:02 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 17:24:47 +0000 (11:24 -0600)
commitd80b36f64f0a8224f2c73f3bab9b33d95c392158
treecfe19638ed33de78ce8eab927d32afd75da6204f
parent9676ed27fe1f59956779ca4a612929e0cf61e3a3
dri: Fix problems with unitialized values in dri screen object.

This fixes crash in r200 KMS driver when pSAREA was set to 1 randomly because of memory wasn't cleared.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
src/mesa/drivers/dri/common/dri_util.c