Browse Source

st/dri: fix bug in allocate_textures

tags/mesa-7.9-rc1
George Sapountzis 15 years ago
parent
commit
92827cd451
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/state_trackers/dri/dri1.c

+ 1
- 1
src/gallium/state_trackers/dri/dri1.c View File

@@ -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;


Loading…
Cancel
Save