summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/tests/texture.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/python/tests/texture.py')
-rw-r--r--src/gallium/state_trackers/python/tests/texture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/tests/texture.py b/src/gallium/state_trackers/python/tests/texture.py
index 880a61306c..8cec57e2a6 100644
--- a/src/gallium/state_trackers/python/tests/texture.py
+++ b/src/gallium/state_trackers/python/tests/texture.py
@@ -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)