瀏覽代碼

intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).

Bug #24435
(cherry picked from commit d56125a298)
tags/mesa_7_6_1_rc1
Eric Anholt 16 年之前
父節點
當前提交
2643a7ba29
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/mesa/drivers/dri/intel/intel_syncobj.c

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

@@ -114,7 +114,7 @@ static void intel_check_sync(GLcontext *ctx, struct gl_sync_object *s)
{
struct intel_sync_object *sync = (struct intel_sync_object *)s;

if (sync->bo && drm_intel_bo_busy(sync->bo)) {
if (sync->bo && !drm_intel_bo_busy(sync->bo)) {
drm_intel_bo_unreference(sync->bo);
sync->bo = NULL;
s->StatusFlag = 1;

Loading…
取消
儲存