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

Commit 7b7f29a3 authored by Jason Sams's avatar Jason Sams
Browse files

Fix live wallpaper many. Z coordinate was being ignored for draw quad call.

parent ce9adcce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -737,7 +737,7 @@ static void SC_drawQuadTexCoords(float x1, float y1, float z1,
    const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4};

    VertexArray va;
    va.setPosition(2, GL_FLOAT, 12, (uint32_t)&vtx);
    va.setPosition(3, GL_FLOAT, 12, (uint32_t)&vtx);
    va.setTexture(2, GL_FLOAT, 8, (uint32_t)&tex, 0);
    //va.setTexture(2, GL_FLOAT, 8, (uint32_t)&tex, 1);
    //