diff options
author | Pekka Paalanen <pq@iki.fi> | 2009-01-24 19:56:13 +0200 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2009-01-24 19:56:13 +0200 |
commit | 3af89cd3dec09b8cc5733cd45e2af05b689d0374 (patch) | |
tree | c1ea0cf09a0040d6c5fb2a7707fc7e96aab173f2 /src/gallium/winsys/drm/nouveau | |
parent | c50a9319b13b43754feb9b7396662f5dc8badf65 (diff) |
nouveau: fix st_get_framebuffer_surface() breakage
Someone changed the st_get_framebuffer_surface() signature, and did not
update the users in Nouveau winsys. Surface is returned via a pointer
now instead of returning it from the function. No semantic changes.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'src/gallium/winsys/drm/nouveau')
-rw-r--r-- | src/gallium/winsys/drm/nouveau/dri/nouveau_swapbuffers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/nouveau/dri/nouveau_swapbuffers.c b/src/gallium/winsys/drm/nouveau/dri/nouveau_swapbuffers.c index 38461b2b0c..e111eec932 100644 --- a/src/gallium/winsys/drm/nouveau/dri/nouveau_swapbuffers.c +++ b/src/gallium/winsys/drm/nouveau/dri/nouveau_swapbuffers.c @@ -58,7 +58,7 @@ nouveau_copy_sub_buffer(__DRIdrawablePrivate *dPriv, int x, int y, int w, int h) struct nouveau_framebuffer *nvfb = dPriv->driverPrivate; struct pipe_surface *surf; - surf = st_get_framebuffer_surface(nvfb->stfb, ST_SURFACE_BACK_LEFT); + st_get_framebuffer_surface(nvfb->stfb, ST_SURFACE_BACK_LEFT, &surf); if (surf) { drm_clip_rect_t rect; rect.x1 = x; @@ -77,7 +77,7 @@ nouveau_swap_buffers(__DRIdrawablePrivate *dPriv) struct nouveau_framebuffer *nvfb = dPriv->driverPrivate; struct pipe_surface *surf; - surf = st_get_framebuffer_surface(nvfb->stfb, ST_SURFACE_BACK_LEFT); + st_get_framebuffer_surface(nvfb->stfb, ST_SURFACE_BACK_LEFT, &surf); if (surf) { st_notify_swapbuffers(nvfb->stfb); nouveau_copy_buffer(dPriv, surf, NULL); |