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

Commit 1ca4292a authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 24048 into eclair

* changes:
  fix [2098939] Smooth gradients show banding on Sholes
parents 556d4742 888eee68
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -398,7 +398,8 @@ void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const
    glEnable(GL_TEXTURE_2D);

    // Dithering...
    if (s.flags & ISurfaceComposer::eLayerDither) {
    bool fast = !(mFlags & DisplayHardware::SLOW_CONFIG);
    if (fast || s.flags & ISurfaceComposer::eLayerDither) {
        glEnable(GL_DITHER);
    } else {
        glDisable(GL_DITHER);