commit | be1b127c7bec252e0c6ab0e06ed6babed07d496f | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Jun 06 14:02:54 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Thu Jun 06 16:26:51 2013 -0700 |
tree | eaab57886d7cd44e10da155d3dc6188a30b2b17b | |
parent | f69913056b8c6000ff0306573a97971702e8d35a [diff] |
Assume a texture is unbound after deleting it Bug #9316260 The GL specification indicates that deleting a bound texture has the side effect of binding the default texture (name=0). This change replaces all calls to glDeleteTextures() by Caches::deleteTexture() to properly keep track of texture bindings. Change-Id: Ifbc60ef433e0f9776a668dd5bd5f0adbc65a77a0