summaryrefslogtreecommitdiff
path: root/progs/gallium/python/samples/tri.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-01 18:15:04 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-03-02 10:22:35 +0000
commit4e1aa4a8125d70c61e8c61b7b025ccbc841e7cba (patch)
tree096548cc036c235e583e172acad1e8bc5940fa12 /progs/gallium/python/samples/tri.py
parent3b67f879701523a35bf09e999dcbaee26cd17b5a (diff)
progs/gallium/python: Rename pipe formats.
Diffstat (limited to 'progs/gallium/python/samples/tri.py')
-rw-r--r--progs/gallium/python/samples/tri.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/gallium/python/samples/tri.py b/progs/gallium/python/samples/tri.py
index f0b5e3dc98..d7fbdb10ac 100644
--- a/progs/gallium/python/samples/tri.py
+++ b/progs/gallium/python/samples/tri.py
@@ -134,7 +134,7 @@ def test(dev):
# framebuffer
cbuf = dev.texture_create(
- PIPE_FORMAT_X8R8G8B8_UNORM,
+ PIPE_FORMAT_B8G8R8X8_UNORM,
width, height,
tex_usage=PIPE_TEXTURE_USAGE_RENDER_TARGET,
).get_surface()