diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-25 20:49:00 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-09-25 20:49:00 +0200 |
commit | 9c449502a2a92bc71bc438f366138ae82404c066 (patch) | |
tree | b858dd7facf78e7f5fd97e96fcc37b454fef270d | |
parent | b0ddfe8a3dc3dfee87dd382a4aa7cbd03a395f37 (diff) |
st/xorg: Make sure struct is fully initialized.
gcc complained about a missing initializer.
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa_tgsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c index 28954dc6f63..bb5a42af37e 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c +++ b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c @@ -465,7 +465,7 @@ struct xorg_shader xorg_shaders_get(struct xorg_shaders *sc, unsigned vs_traits, unsigned fs_traits) { - struct xorg_shader shader = {0}; + struct xorg_shader shader = { NULL, NULL }; void *vs, *fs; vs = shader_from_cache(sc->exa->pipe, PIPE_SHADER_VERTEX, |