commit | f504a2fa144504ca1efd39a4ef9208e3d4d336c5 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu May 26 16:40:55 2011 -0700 |
committer | Romain Guy <romainguy@google.com> | Thu May 26 16:40:55 2011 -0700 |
tree | 3d797f8910ac7615bddfc073435d8a26fcb80e61 | |
parent | 3453b1c584f456a18f17d74a72c044b4e39c6405 [diff] |
Correctly implement the CLEAR xfermode. The previous implementation was using glBlendFunc with the parameters GL_ZERO/GL_ZERO which doesn't work for text, paths and other alpha sources (anti-aliasing.) The correct implementation is GL_ZERO/ GL_ONE_MINUS_SRC_ALPHA. Change-Id: I4cca65e57b6a37bbf5a41d382cb0648ee8e11e79