Просмотр исходного кода

intel: fix an assertion failure. fix bug #15575

tags/mesa_7_1_rc1
Xiang, Haihao 18 лет назад
Родитель
Сommit
7c2a3fced8
1 измененных файлов: 4 добавлений и 2 удалений
  1. 4
    2
      src/mesa/drivers/dri/intel/intel_tex_image.c

+ 4
- 2
src/mesa/drivers/dri/intel/intel_tex_image.c Просмотреть файл

postConvWidth = 32 / texelBytes; postConvWidth = 32 / texelBytes;
texImage->RowStride = postConvWidth; texImage->RowStride = postConvWidth;
} }
assert(texImage->RowStride == postConvWidth);

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


/* Release the reference to a potentially orphaned buffer. /* Release the reference to a potentially orphaned buffer.

Загрузка…
Отмена
Сохранить