gallium: support for array textures and related changes
[mesa.git] / src / gallium / state_trackers / python / st_sample.c
index 25bfbf1ab73d5991ede74566fa9394ae6025ebcb..cac9a1a6204732f161673f058c34cb9a3cdf187b 100644 (file)
@@ -555,9 +555,8 @@ st_sample_surface(struct pipe_context *pipe,
 
    transfer = pipe_get_transfer(pipe,
                                 surface->texture,
-                                surface->face,
                                 surface->level,
-                                surface->zslice,
+                                surface->layer,
                                 PIPE_TRANSFER_WRITE,
                                 0, 0,
                                 width,