Module: Mesa Branch: master Commit: 92827cd4511fabcaeb8abfdd11122e04502d5944 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=92827cd4511fabcaeb8abfdd11122e04502d5944
Author: George Sapountzis <[email protected]> Date: Fri Mar 19 02:38:10 2010 +0200 st/dri: fix bug in allocate_textures --- 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 41dba82..240bc69 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
