DescriptionFixed bit-testing to use '&' instead of '|', found by /analyze
/analyze pointed out that the bit testing in gles2_cmd_decoder.cc was
always returning true due to the wrong operator being used.
Warnings were:
src\gpu\command_buffer\service\gles2_cmd_decoder.cc
(3128) : warning C6316: Incorrect operator: tested expression is constant and non-zero. Use bitwise-and to determine whether bits are set.
(5103) : warning C6316: Incorrect operator: tested expression is constant and non-zero. Use bitwise-and to determine whether bits are set.
BUG=427616
Committed: https://crrev.com/182491565a86a2de1d1bd14582f54eeecf5a1191
Cr-Commit-Position: refs/heads/master@{#302343}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|