diff options
Diffstat (limited to 'progs/gallium/python/samples')
-rw-r--r-- | progs/gallium/python/samples/gs.py | 2 | ||||
-rw-r--r-- | progs/gallium/python/samples/tri.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/gallium/python/samples/gs.py b/progs/gallium/python/samples/gs.py index cd68aba..5c22269 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() diff --git a/progs/gallium/python/samples/tri.py b/progs/gallium/python/samples/tri.py index f0b5e3d..d7fbdb1 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() |