yuq / mesa-lima

Deprecated, new place: https://gitlab.freedesktop.org/lima
https://github.com/yuq/mesa-lima/wiki
165 stars 18 forks source link

lima: properly support RGBA render targets #35

Closed anarsoul closed 6 years ago

anarsoul commented 6 years ago

Render target is BGRA by default, so we need to set swap channel bit in mrt_bits for RGBA.

Fixes #32

Signed-off-by: Vasily Khoruzhick anarsoul@gmail.com