summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-03-21 22:41:34 +0000
committerKeith Whitwell <keithw@vmware.com>2010-03-21 22:41:34 +0000
commitdc2e12d714c444af9ff1acdd5a7e91408b116c99 (patch)
treed3d9b8f7429471b8c3594221193f5cf6f0a229a0
parentb94c72329f1be85887d40d49b0586979da469d77 (diff)
ws/nouveau: remove pipe_texture reference
-rw-r--r--src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c b/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
index 33059c8b75..2c8dc38475 100644
--- a/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
+++ b/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
@@ -45,7 +45,7 @@ dri_surface_from_handle(struct drm_api *api, struct pipe_screen *pscreen,
PIPE_BUFFER_USAGE_GPU_WRITE);
/* we don't need the texture from this point on */
- pipe_texture_reference(&pt, NULL);
+ pipe_resource_reference(&pt, NULL);
return ps;
}