DescriptionThe program crashed if the platform didn't support GL_TEXTURE_EXTERNAL_OES at all.
Since only one of GL_TEXTURE_2D and GL_TEXTURE_EXTERNAL_OES would be used. Switch active texture according to the target type and unbound the texture after use.
BUG=chromium:383414
TEST=Run the unittest on link and peach-pit
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277977
Patch Set 1 : #
Messages
Total messages: 5 (0 generated)
|