vega: Rename pipe formats.
[mesa.git] / src / gallium / state_trackers / vega / api_filters.c
index 20c72c1ff5456074462e7175e7c18b61a8a0248c..02248ad4337479ac2bb1bc76e3cee1eb28204f64 100644 (file)
@@ -67,7 +67,7 @@ static INLINE struct pipe_texture *create_texture_1d(struct vg_context *ctx,
 
    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 = color_data_len;
    templ.height0 = 1;