summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-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 72e94560af4..ed72e4383bb 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