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

Commit b04bd202 authored by Giulio Cervera's avatar Giulio Cervera
Browse files

Revert "libhwui: Correct transform used for drawing text-shadow."

This reverts commit 5e30781a.
parent 6077d33a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2137,11 +2137,7 @@ void OpenGLRenderer::drawText(const char* text, int bytesCount, int count,
        setupDrawShader();
        setupDrawBlending(true, mode);
        setupDrawProgram();
#ifdef QCOM_HARDWARE
        setupDrawModelView(sx, sy, sx + shadow->width, sy + shadow->height, pureTranslate, true);
#else
        setupDrawModelView(sx, sy, sx + shadow->width, sy + shadow->height);
#endif
        setupDrawTexture(shadow->id);
        setupDrawPureColorUniforms();
        setupDrawColorFilterUniforms();