diff options
author | 2016-02-16 10:42:52 -0800 | |
---|---|---|
committer | 2016-02-16 10:42:52 -0800 | |
commit | 2660c7a85bd449e67df74c91d00309c443c1bb5a (patch) | |
tree | 4f33c4adbd5579d4f8eef1adfda1d573ba1c579d | |
parent | d3a9228d1d2388f21b4e8013cf2fad7b4c91ace7 (diff) |
Fix -Wgnu-designator warnigns in cmds/flatland/Main.cpp
Bug: http://b/27068438
Change-Id: I3064950f761411fe5271c6259867ad437c71e66d
-rw-r--r-- | cmds/flatland/Main.cpp | 12 |
1 files 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;", |