summaryrefslogtreecommitdiffstats
path: root/progs/gallium/python/samples/gs.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/gallium/python/samples/gs.py')
-rw-r--r--progs/gallium/python/samples/gs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/gallium/python/samples/gs.py b/progs/gallium/python/samples/gs.py
index cd68abac9a1..5c22269b183 100644
--- a/progs/gallium/python/samples/gs.py
+++ b/progs/gallium/python/samples/gs.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()