Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video
[mesa.git] / src / gallium / winsys / nouveau / drm / nouveau_drm_api.c
index 3a4bba4ce32d557568a49c9953875bfd39ce914c..37f33875a5b57949bf2e6d81807992a3435fc3a1 100644 (file)
@@ -52,9 +52,9 @@ dri_surface_from_handle(struct drm_api *api, struct pipe_screen *pscreen,
 }
 
 static struct pipe_surface *
-nouveau_dri1_front_surface(struct pipe_context *pipe)
+nouveau_dri1_front_surface(struct pipe_screen *screen)
 {
-       return nouveau_winsys_screen(pipe->screen)->front;
+       return nouveau_winsys_screen(screen)->front;
 }
 
 static struct dri1_api nouveau_dri1_api = {