From: José Fonseca Date: Thu, 9 Apr 2009 21:10:45 +0000 (+0100) Subject: python: Fix bad pointer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c09ef3e747fe1e6a7689ae6277365f749f4de19f;p=mesa.git python: Fix bad pointer. --- diff --git a/src/gallium/state_trackers/python/p_texture.i b/src/gallium/state_trackers/python/p_texture.i index f41a95e6eb0..1d513abf3c7 100644 --- a/src/gallium/state_trackers/python/p_texture.i +++ b/src/gallium/state_trackers/python/p_texture.i @@ -426,7 +426,7 @@ struct st_surface if(!*STRING) return; - pipe_buffer_read(screen, $self, 0, $self->size, STRING); + pipe_buffer_read(screen, $self, 0, $self->size, *STRING); } %cstring_input_binary(const char *STRING, unsigned LENGTH);