diff options
author | José Fonseca <[email protected]> | 2009-07-15 15:37:04 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-07-15 16:02:39 +0100 |
commit | c68f659be3850c5e099311be7c58f8930954631d (patch) | |
tree | 5f62bb46fe068885242e947d15240889561dbb06 | |
parent | fdeb77899052302053459b8a840a747346e30468 (diff) |
python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.
More common. True fix would be to use whatever the screen supports though.
-rw-r--r-- | src/gallium/state_trackers/python/samples/tri.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/samples/tri.py b/src/gallium/state_trackers/python/samples/tri.py index 4b9659861df..b721e0b5750 100644 --- a/src/gallium/state_trackers/python/samples/tri.py +++ b/src/gallium/state_trackers/python/samples/tri.py @@ -139,7 +139,7 @@ def test(dev): tex_usage=PIPE_TEXTURE_USAGE_DISPLAY_TARGET, ).get_surface() zbuf = dev.texture_create( - PIPE_FORMAT_Z32_UNORM, + PIPE_FORMAT_Z16_UNORM, width, height, tex_usage=PIPE_TEXTURE_USAGE_DEPTH_STENCIL, ).get_surface() |