Merge remote branch 'origin/master' into pipe-video
[mesa.git] / src / gallium / winsys / drm / nouveau / drm / nouveau_drm_api.c
index 0d05f316c42fbe1f324469e57a23bc90ef744524..d289fdcec7f62cee75e01eaa9e1d7611d5be8d06 100644 (file)
@@ -46,9 +46,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 = {