From cae752bea130d33a54c94ac5d30106ed70df278c Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Tue, 16 Feb 2016 10:42:52 -0800 Subject: Fix -Wgnu-designator warnigns in cmds/flatland/Main.cpp Cherry-pick of https://android-review.googlesource.com/#/c/202956/ Bug: http://b/27068438 Change-Id: I83c56d8a0d19f6c86380b42b024331b5c262860a --- cmds/flatland/Main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cmds/flatland/Main.cpp') diff --git a/cmds/flatland/Main.cpp b/cmds/flatland/Main.cpp index 866203f3f2..c47b0c8f4b 100644 --- a/cmds/flatland/Main.cpp +++ b/cmds/flatland/Main.cpp @@ -206,8 +206,8 @@ static const BenchmarkDesc benchmarks[] = { static const ShaderDesc shaders[] = { { - name: "Blit", - vertexShader: { + .name="Blit", + .vertexShader={ "precision mediump float;", "", "attribute vec4 position;", @@ -223,7 +223,7 @@ static const ShaderDesc shaders[] = { " texCoords = uvToTex * uv;", "}", }, - fragmentShader: { + .fragmentShader={ "#extension GL_OES_EGL_image_external : require", "precision mediump float;", "", @@ -240,8 +240,8 @@ static const ShaderDesc shaders[] = { }, { - name: "Gradient", - vertexShader: { + .name="Gradient", + .vertexShader={ "precision mediump float;", "", "attribute vec4 position;", @@ -257,7 +257,7 @@ static const ShaderDesc shaders[] = { " interp = (uvToInterp * uv).x;", "}", }, - fragmentShader: { + .fragmentShader={ "precision mediump float;", "", "varying float interp;", -- cgit v1.2.3-59-g8ed1b