aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-02-02 14:42:04 -0800
committerCorbin Simpson <[email protected]>2009-02-02 14:42:04 -0800
commita2416e3d7ecb2fcf18d93a08bc3cc3639ed97b39 (patch)
tree1245bff4f8881029a8a7f9670eee698ca2f948c0 /src/gallium/winsys/drm
parentffc5e9a422da5b3eaadc57995afcbc483739f426 (diff)
r300, amd: Oops, a couple more API changes.
Somehow I forgot to commit these.
Diffstat (limited to 'src/gallium/winsys/drm')
-rw-r--r--src/gallium/winsys/drm/amd/amd_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/amd/amd_buffer.c b/src/gallium/winsys/drm/amd/amd_buffer.c
index fb7c6f33ed5..4b831c7fcc2 100644
--- a/src/gallium/winsys/drm/amd/amd_buffer.c
+++ b/src/gallium/winsys/drm/amd/amd_buffer.c
@@ -231,7 +231,7 @@ struct pipe_surface *amd_surface_from_handle(struct amd_context *amd_context,
pt = pipe_screen->texture_blanket(pipe_screen, &tmpl, &pitch, pb);
if (pt == NULL) {
- winsys_buffer_reference(pipe_winsys, &pb, NULL);
+ pipe_buffer_reference(pipe_screen, &pb, NULL);
}
ps = pipe_screen->get_tex_surface(pipe_screen, pt, 0, 0, 0,
PIPE_BUFFER_USAGE_GPU_WRITE);