summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-03-30 18:26:40 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-03-30 18:26:40 +0100
commit76d43ed4c98c4e5ad23dd342ecf3ed83b35fdcd7 (patch)
treed31a813c9d17b95246a7e017e52aa1a34f5d3674 /src/gallium
parent5e815cf26fe4789d92c0fa018e6a20c463e20d32 (diff)
python: Don't use deprecated clear_value field.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/python/samples/tri.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/python/samples/tri.py b/src/gallium/state_trackers/python/samples/tri.py
index 72e94560af..ed72e4383b 100644
--- a/src/gallium/state_trackers/python/samples/tri.py
+++ b/src/gallium/state_trackers/python/samples/tri.py
@@ -142,8 +142,7 @@ def test(dev):
fb.nr_cbufs = 1
fb.set_cbuf(0, _cbuf)
ctx.set_framebuffer(fb)
- _cbuf.clear_value = 0x00000000
- ctx.surface_clear(_cbuf, _cbuf.clear_value)
+ ctx.surface_clear(_cbuf, 0x00000000)
del _cbuf
# vertex shader