mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).
Bug #24435
This commit is contained in:
parent
cbd20e18a0
commit
d56125a298
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue