Browse Source

intel: fix an assertion failure. fix bug #15575

tags/mesa_7_1_rc1
Xiang, Haihao 18 years ago
parent
commit
7c2a3fced8
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/mesa/drivers/dri/intel/intel_tex_image.c

+ 4
- 2
src/mesa/drivers/dri/intel/intel_tex_image.c View File

@@ -348,8 +348,10 @@ intelTexImage(GLcontext * ctx,
postConvWidth = 32 / texelBytes;
texImage->RowStride = postConvWidth;
}
assert(texImage->RowStride == postConvWidth);

if (!intelImage->mt) {
assert(texImage->RowStride == postConvWidth);
}
}

/* Release the reference to a potentially orphaned buffer.

Loading…
Cancel
Save