From 2660c7a85bd449e67df74c91d00309c443c1bb5a Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Tue, 16 Feb 2016 10:42:52 -0800 Subject: [PATCH] Fix -Wgnu-designator warnigns in cmds/flatland/Main.cpp Bug: http://b/27068438 Change-Id: I3064950f761411fe5271c6259867ad437c71e66d --- cmds/flatland/Main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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;", -- 2.11.0