summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-04-09 22:10:45 +0100
committerJosé Fonseca <[email protected]>2009-04-09 22:11:48 +0100
commitc09ef3e747fe1e6a7689ae6277365f749f4de19f (patch)
treea60a417eea72f2bbe50c1ee77b9065b356e2f973 /src/gallium
parent311f77198e171e9ce8ddcce91fd6a894fff1f14f (diff)
python: Fix bad pointer.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/python/p_texture.i2
1 files changed, 1 insertions, 1 deletions
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);