python: Update python state tracker and samples for recent interface changes.

This commit is contained in:
José Fonseca
2009-12-26 01:14:59 +00:00
parent 3f176bf08c
commit 230a5b5f1c
9 changed files with 53 additions and 24 deletions

View File

@@ -118,7 +118,7 @@ def test(dev):
sampler.min_img_filter = PIPE_TEX_MIPFILTER_NEAREST
sampler.mag_img_filter = PIPE_TEX_MIPFILTER_NEAREST
sampler.normalized_coords = 1
ctx.set_sampler(0, sampler)
ctx.set_fragment_sampler(0, sampler)
# scissor
scissor = Scissor()