Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cae752be authored by Aurimas Liutikas's avatar Aurimas Liutikas
Browse files

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
parent 07320bc9
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -206,8 +206,8 @@ static const BenchmarkDesc benchmarks[] = {


static const ShaderDesc shaders[] = {
static const ShaderDesc shaders[] = {
    {
    {
        name: "Blit",
        .name="Blit",
        vertexShader: {
        .vertexShader={
            "precision mediump float;",
            "precision mediump float;",
            "",
            "",
            "attribute vec4 position;",
            "attribute vec4 position;",
@@ -223,7 +223,7 @@ static const ShaderDesc shaders[] = {
            "    texCoords = uvToTex * uv;",
            "    texCoords = uvToTex * uv;",
            "}",
            "}",
        },
        },
        fragmentShader: {
        .fragmentShader={
            "#extension GL_OES_EGL_image_external : require",
            "#extension GL_OES_EGL_image_external : require",
            "precision mediump float;",
            "precision mediump float;",
            "",
            "",
@@ -240,8 +240,8 @@ static const ShaderDesc shaders[] = {
    },
    },


    {
    {
        name: "Gradient",
        .name="Gradient",
        vertexShader: {
        .vertexShader={
            "precision mediump float;",
            "precision mediump float;",
            "",
            "",
            "attribute vec4 position;",
            "attribute vec4 position;",
@@ -257,7 +257,7 @@ static const ShaderDesc shaders[] = {
            "    interp = (uvToInterp * uv).x;",
            "    interp = (uvToInterp * uv).x;",
            "}",
            "}",
        },
        },
        fragmentShader: {
        .fragmentShader={
            "precision mediump float;",
            "precision mediump float;",
            "",
            "",
            "varying float interp;",
            "varying float interp;",