summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tri-instanced.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/tri-instanced.c')
-rw-r--r--src/gallium/tests/graw/tri-instanced.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/tri-instanced.c b/src/gallium/tests/graw/tri-instanced.c
index 50389e0..521dab0 100644
--- a/src/gallium/tests/graw/tri-instanced.c
+++ b/src/gallium/tests/graw/tri-instanced.c
@@ -196,7 +196,7 @@ static void set_fragment_shader( void )
static void draw( void )
{
- union pipe_color_union clear_color = { .f = {1,0,1,1} };
+ union pipe_color_union clear_color = { {1,0,1,1} };
struct pipe_draw_info info;
ctx->clear(ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0);