summaryrefslogtreecommitdiff
path: root/progs/gallium/python/samples/tri.py
diff options
context:
space:
mode:
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 f0b5e3dc984..d7fbdb10ac3 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()