diff options
Diffstat (limited to 'progs/gallium/python/tests/base.py')
-rwxr-xr-x | progs/gallium/python/tests/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/gallium/python/tests/base.py b/progs/gallium/python/tests/base.py index 6296eb58504..8c55e3ae5d5 100755 --- a/progs/gallium/python/tests/base.py +++ b/progs/gallium/python/tests/base.py @@ -43,7 +43,7 @@ from gallium import * # Enumerate all pixel formats formats = {} for name, value in globals().items(): - if name.startswith("PIPE_FORMAT_") and isinstance(value, int) and name != "PIPE_FORMAT_COUNT": + if name.startswith("PIPE_FORMAT_") and isinstance(value, int) and name not in ("PIPE_FORMAT_NONE", "PIPE_FORMAT_COUNT"): formats[value] = name def make_image(width, height, rgba): |