summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aurimas Liutikas <aurimas@google.com> 2016-02-16 10:42:52 -0800
committer Aurimas Liutikas <aurimas@google.com> 2016-02-16 10:42:52 -0800
commit2660c7a85bd449e67df74c91d00309c443c1bb5a (patch)
tree4f33c4adbd5579d4f8eef1adfda1d573ba1c579d
parentd3a9228d1d2388f21b4e8013cf2fad7b4c91ace7 (diff)
Fix -Wgnu-designator warnigns in cmds/flatland/Main.cpp
Bug: http://b/27068438 Change-Id: I3064950f761411fe5271c6259867ad437c71e66d
-rw-r--r--cmds/flatland/Main.cpp12
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;",