python: s/num_cbufs/nr_cbufs/
This commit is contained in:
@@ -396,7 +396,7 @@ class Context(Object):
|
||||
_state = gallium.Framebuffer()
|
||||
_state.width = state.width
|
||||
_state.height = state.height
|
||||
_state.num_cbufs = state.num_cbufs
|
||||
_state.nr_cbufs = state.nr_cbufs
|
||||
for i in range(len(state.cbufs)):
|
||||
_state.set_cbuf(i, state.cbufs[i])
|
||||
_state.set_zsbuf(state.zsbuf)
|
||||
|
@@ -139,7 +139,7 @@ def test(dev):
|
||||
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)
|
||||
_cbuf.clear_value = 0x00000000
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user