python: Fix bad pointer.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 9 Apr 2009 21:10:45 +0000 (22:10 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 9 Apr 2009 21:11:48 +0000 (22:11 +0100)
src/gallium/state_trackers/python/p_texture.i

index f41a95e6eb0154fa2f40a0152ee687e3edbfd244..1d513abf3c75489a751cf7de42e4b6299c655c22 100644 (file)
@@ -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);