commit | d7efb904807c3c87499f1ae72cc7b6a2601e4fc6 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Fri Aug 23 13:47:01 2013 -0700 |
committer | Jesse Hall <jessehall@google.com> | Fri Aug 23 13:47:01 2013 -0700 |
tree | 0bbac12827bfee8be65bda7a9be67b5af728032b | |
parent | 4ce884fce3233d90e600d8ad8b598e788dd17e48 [diff] |
Copy the GL2 extension string before destroying context The pointer returned by glGetString is owned by the GL context, so when the GL context is destroyed it may become invalid. This happens on Mesa, for example. Make/manage our own copy of the extension string to use after destroying the context. Bug: 9627179 Change-Id: I605536151ee64f50403546d0d38c5b5f1f27dd73