diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-26 17:19:45 -0700 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-03-28 10:42:38 -0700 |
commit | 42ab3f6fd2a019e63bf66cc59c5afb8cb6a53741 (patch) | |
tree | d024930324f3473b9a73cb77d812359fa8f87347 /src/gallium/state_trackers/python/st_sample.c | |
parent | a24fc90703f62d286031cb2ee8f625ef728243fd (diff) |
st/python: updates for recent interface changes
Still problems at runtime with vertex elements, etc.
Building still disabled.
Diffstat (limited to 'src/gallium/state_trackers/python/st_sample.c')
-rw-r--r-- | src/gallium/state_trackers/python/st_sample.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/python/st_sample.c b/src/gallium/state_trackers/python/st_sample.c index e180815346..f9622533fb 100644 --- a/src/gallium/state_trackers/python/st_sample.c +++ b/src/gallium/state_trackers/python/st_sample.c @@ -521,7 +521,7 @@ st_sample_pixel_block(enum pipe_format format, } } - +#if 0 void st_sample_surface(struct st_surface *surface, float *rgba) { @@ -533,7 +533,7 @@ st_sample_surface(struct st_surface *surface, float *rgba) struct pipe_transfer *transfer; void *raw; - transfer = screen->get_tex_transfer(screen, + transfer = pipe->get_tex_transfer(pipe, surface->texture, surface->face, surface->level, @@ -572,3 +572,4 @@ st_sample_surface(struct st_surface *surface, float *rgba) screen->tex_transfer_destroy(transfer); } +#endif |