浏览代码

softpipe: simplify an assertion

tags/mesa_20090313
Brian Paul 16 年前
父节点
当前提交
2473ded886
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/gallium/drivers/softpipe/sp_texture.c

+ 1
- 1
src/gallium/drivers/softpipe/sp_texture.c 查看文件

@@ -270,7 +270,7 @@ softpipe_tex_surface_release(struct pipe_screen *screen,
* needed post-processing to put them into hardware layout, this is
* where it would happen. For softpipe, nothing to do.
*/
assert ((*s)->texture);
assert(surf->texture);
if (--surf->refcount == 0) {
pipe_texture_reference(&surf->texture, NULL);
FREE(surf);

正在加载...
取消
保存