mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 16:20:13 +01:00
python: Don't use deprecated clear_value field.
This commit is contained in:
parent
5e815cf26f
commit
76d43ed4c9
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue