vega: Rename pipe formats.
[mesa.git] / src / gallium / state_trackers / vega / paint.c
index 3405d635f0cf1c7c59e40f74f6dad881161fa518..caf0c14b7453cfb697cf1fb9468b9304c5855607 100644 (file)
@@ -151,7 +151,7 @@ static INLINE struct pipe_texture *create_gradient_texture(struct vg_paint *p)
 
    memset(&templ, 0, sizeof(templ));
    templ.target = PIPE_TEXTURE_1D;
-   templ.format = PIPE_FORMAT_A8R8G8B8_UNORM;
+   templ.format = PIPE_FORMAT_B8G8R8A8_UNORM;
    templ.last_level = 0;
    templ.width0 = 1024;
    templ.height0 = 1;