DescriptionFix an early return and the error status in glLoseContextCHROMIUM impl
The implementation of glLoseContextCHROMIUM did not return early
in gl error conditions of invalid enums passed as arguments. Add
the early returns and tests for the invalid enums.
Upon successful glLoseContextCHROMIUM, the subsequent calls
such as glGetError would also fail, because the implementation
would set the decoder error variable as well as return the error
value. Fix this by just setting the decoder error variable. Add
a test for this (LoseContextCHROMIUMValidArgs)
BUG=373159
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272507
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|