Fix overwriting of config flags in a few cases
authorBrian Osman <brianosman@google.com>
Tue, 10 Jan 2017 21:53:58 +0000 (16:53 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 11 Jan 2017 14:06:31 +0000 (14:06 +0000)
commitf4faccd3b303cd21b6cd3d7b1a54d2b5f0c6f079
tree66a9d168e6fce8cb3bec41bf18639a4cfc51e286
parent8eedbfc9ac3e14c5eac3167192cdbc5b4275adf8
Fix overwriting of config flags in a few cases

For all of these configs, we were or'ing in the texel buffer flag, and
then setting the flags to textureable. We currently only use texel buffers
for RGBA_Float buffers, so this didn't make any difference, but I spotted
it while making other changes.

BUG=skia:

Change-Id: I76c21881b7c82c5c0561e19686ddcc62f9cca835
Reviewed-on: https://skia-review.googlesource.com/6851
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
src/gpu/gl/GrGLCaps.cpp