Fix typo
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 17 Nov 2007 15:06:01 +0000 (15:06 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 17 Nov 2007 15:39:36 +0000 (15:39 +0000)
src/mesa/drivers/dri/intel_winsys/intel_winsys_i915.c

index eea8c0be1819ba19f8295e58f48c0f9291edf321..d73b309fd421bbb8585752b6753e0fb9d79f8221 100644 (file)
@@ -133,7 +133,7 @@ intel_i915_fence_reference( struct i915_winsys *sws,
                             struct pipe_fence *src_fence )
 {
    struct _DriFenceObject **dri_dst_fence = (struct _DriFenceObject **)dst_fence;
-   struct _DriFenceObject *dri_src_fence = (struct _DriFenceObject *)dst_fence;
+   struct _DriFenceObject *dri_src_fence = (struct _DriFenceObject *)src_fence;
    
    if(dri_src_fence)
       driFenceReference(dri_src_fence);