From: José Fonseca Date: Mon, 30 Mar 2009 17:26:40 +0000 (+0100) Subject: python: Don't use deprecated clear_value field. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76d43ed4c98c4e5ad23dd342ecf3ed83b35fdcd7;p=mesa.git python: Don't use deprecated clear_value field. --- 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