Module: Mesa
Branch: master
Commit: c09ef3e747fe1e6a7689ae6277365f749f4de19f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c09ef3e747fe1e6a7689ae6277365f749f4de19f

Author: José Fonseca <[email protected]>
Date:   Thu Apr  9 22:10:45 2009 +0100

python: Fix bad pointer.

---

 src/gallium/state_trackers/python/p_texture.i |    2 +-
 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 f41a95e..1d513ab 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);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to