浏览代码

intel: Update renderbuffers unconditionally in intelSetTexBuffer2()

undefined
Kristian Høgsberg 15 年前
父节点
当前提交
06c72da97a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1
    2
      src/mesa/drivers/dri/intel/intel_tex_image.c

+ 1
- 2
src/mesa/drivers/dri/intel/intel_tex_image.c 查看文件

@@ -728,8 +728,7 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
if (!intelObj)
return;

if (dPriv->lastStamp != dPriv->dri2.stamp)
intel_update_renderbuffers(pDRICtx, dPriv);
intel_update_renderbuffers(pDRICtx, dPriv);

rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT);
/* If the region isn't set, then intel_update_renderbuffers was unable

正在加载...
取消
保存