summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-27 12:22:43 +0000
committerKeith Whitwell <[email protected]>2009-11-27 12:24:57 +0000
commite595dd4c179efe06183b8efb430ec6c8845dfd0b (patch)
tree48495f5b3994c5fd1b688e25f054b57b6f3489e2 /src
parentb84b7f19dfdc0ac02175847065b39110db7ad98f (diff)
st/xorg: free last fence
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c
index 4c66354ad45..12915912986 100644
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
@@ -466,6 +466,10 @@ static void drv_block_handler(int i, pointer blockData, pointer pTimeout,
ms->screen->fence_reference(ms->screen,
&ms->fence[j],
ms->fence[j+1]);
+
+ ms->screen->fence_reference(ms->screen,
+ &ms->fence[XORG_NR_FENCES-1],
+ NULL);
}