wined3d: Don't set unloaded arrays to zero.
commit3f5936f6f7dc5560e0ad56e25bd0c9c421f0fba4
authorStefan Dösinger <stefan@codeweavers.com>
Sun, 31 May 2009 14:38:05 +0000 (31 16:38 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 10 Jun 2009 09:52:58 +0000 (10 11:52 +0200)
tree7b3ee315cb2b371c2c44affa72583d7e617f6f5f
parent8e259d9fcdaaa75a9086d0d2e58d71375c61b38c
wined3d: Don't set unloaded arrays to zero.

This causes memory corruption on MacOS, even if the app does not
reference undeclared arrays. Trying to avoid potential breakage in
broken apps which provoke undefined behavior is pointless if it causes
actual breakage in well-behaved apps (on ill-behaved drivers).
dlls/wined3d/state.c