summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm/intel/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/intel/dri')
-rw-r--r--src/gallium/winsys/drm/intel/dri/intel_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/intel/dri/intel_screen.c b/src/gallium/winsys/drm/intel/dri/intel_screen.c
index 78b9a6db05c..ed753689829 100644
--- a/src/gallium/winsys/drm/intel/dri/intel_screen.c
+++ b/src/gallium/winsys/drm/intel/dri/intel_screen.c
@@ -485,7 +485,7 @@ intelDestroyBuffer(__DRIdrawablePrivate * driDrawPriv)
{
struct intel_framebuffer *intelfb = intel_framebuffer(driDrawPriv);
assert(intelfb->stfb);
- st_unreference_framebuffer(&intelfb->stfb);
+ st_unreference_framebuffer(intelfb->stfb);
free(intelfb);
}