python: Fix method renaming.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 8 Apr 2009 14:32:08 +0000 (15:32 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 8 Apr 2009 15:26:05 +0000 (16:26 +0100)
src/gallium/state_trackers/python/p_texture.i

index 276fa795cce779c52da8a8ee25a1444e607219ef..f41a95e6eb0154fa2f40a0152ee687e3edbfd244 100644 (file)
@@ -398,8 +398,8 @@ struct st_surface
 %}
 
 /* Avoid naming conflict with p_inlines.h's pipe_buffer_read/write */ 
-%rename(read) pipe_buffer_read_; 
-%rename(write) pipe_buffer_write_; 
+%rename(read) read_; 
+%rename(write) write_; 
 
 %extend pipe_buffer {