diff options
author | George Sapountzis <gsapountzis@gmail.com> | 2010-03-19 02:38:10 +0200 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-03-20 12:59:58 +0800 |
commit | 92827cd4511fabcaeb8abfdd11122e04502d5944 (patch) | |
tree | 8084d15bb751832c56677d9e8ff14687198f7fb2 | |
parent | a0d615fd978aaa2e8ca2d31cb574f5de3890e140 (diff) |
st/dri: fix bug in allocate_textures
-rw-r--r-- | src/gallium/state_trackers/dri/dri1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/dri1.c b/src/gallium/state_trackers/dri/dri1.c index 41dba82d52..240bc69efd 100644 --- a/src/gallium/state_trackers/dri/dri1.c +++ b/src/gallium/state_trackers/dri/dri1.c @@ -451,7 +451,7 @@ dri1_allocate_textures(struct dri_drawable *drawable, break; } - if (templ.format != PIPE_FORMAT_NONE) { + if (format != PIPE_FORMAT_NONE) { templ.format = format; templ.tex_usage = tex_usage; |