python: s/num_cbufs/nr_cbufs/
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 24 Mar 2009 21:18:54 +0000 (21:18 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 25 Mar 2009 21:03:10 +0000 (21:03 +0000)
src/gallium/state_trackers/python/retrace/interpreter.py
src/gallium/state_trackers/python/samples/tri.py
src/gallium/state_trackers/python/tests/texture.py

index e6999a2211ea58459c41841429ac3c206b76979c..3050904ece3ae50146635a5da8f608580d2bae53 100755 (executable)
@@ -396,7 +396,7 @@ class Context(Object):
         _state = gallium.Framebuffer()
         _state.width = state.width
         _state.height = state.height
-        _state.num_cbufs = state.num_cbufs
+        _state.nr_cbufs = state.nr_cbufs
         for i in range(len(state.cbufs)):
             _state.set_cbuf(i, state.cbufs[i])
         _state.set_zsbuf(state.zsbuf)    
index d3ccb6c2f466324eef1acc0b14453c7f26c842e8..ae065c5b9ae33325690f5a7aaba87adfd7f5afd3 100644 (file)
@@ -139,7 +139,7 @@ def test(dev):
     fb = Framebuffer()
     fb.width = width
     fb.height = height
-    fb.num_cbufs = 1
+    fb.nr_cbufs = 1
     fb.set_cbuf(0, _cbuf)
     ctx.set_framebuffer(fb)
     _cbuf.clear_value = 0x00000000
index 880a61306c95858701b16eb01eb5f36309e9aea5..8cec57e2a60ebabac8893d1ad2682a16810debd5 100644 (file)
@@ -234,7 +234,7 @@ class TextureTest(TestCase):
         fb = Framebuffer()
         fb.width = width
         fb.height = height
-        fb.num_cbufs = 1
+        fb.nr_cbufs = 1
         fb.set_cbuf(0, cbuf)
         ctx.set_framebuffer(fb)
         ctx.surface_clear(cbuf, 0x00000000)