Mesa (master): python: Fix method renaming.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Apr 8 15:26:12 UTC 2009


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

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Apr  8 15:32:08 2009 +0100

python: Fix method renaming.

---

 src/gallium/state_trackers/python/p_texture.i |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/state_trackers/python/p_texture.i b/src/gallium/state_trackers/python/p_texture.i
index 276fa79..f41a95e 100644
--- a/src/gallium/state_trackers/python/p_texture.i
+++ b/src/gallium/state_trackers/python/p_texture.i
@@ -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 {
    




More information about the mesa-commit mailing list