python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] range.

This commit is contained in:
José Fonseca
2010-04-01 17:36:37 +01:00
parent f14c5adbc7
commit 675fcb6cae
+2 -2
View File
@@ -191,7 +191,7 @@ class TextureColorSampleTest(TestCase):
zslice = zslice,
)
ctx.surface_sample_rgba(surface, expected_rgba)
ctx.surface_sample_rgba(surface, expected_rgba, True)
ctx.set_fragment_sampler_texture(0, texture)
@@ -428,7 +428,7 @@ class TextureDepthSampleTest(TestCase):
zslice = zslice,
)
ctx.surface_sample_rgba(surface, expected_rgba)
ctx.surface_sample_rgba(surface, expected_rgba, True)
ctx.set_fragment_sampler_texture(0, texture)