summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2016-02-16 19:30:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-02-16 19:30:38 +0000
commitf4475023e728db1456a72b0e9a1292e11fb38245 (patch)
tree4f33c4adbd5579d4f8eef1adfda1d573ba1c579d
parentd3a9228d1d2388f21b4e8013cf2fad7b4c91ace7 (diff)
parent2660c7a85bd449e67df74c91d00309c443c1bb5a (diff)
downloadnative-f4475023e728db1456a72b0e9a1292e11fb38245.tar.gz
Merge "Fix -Wgnu-designator warnigns in cmds/flatland/Main.cpp"
-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;",