commit | 4caf5da048ea205f9e07a31c82a419ea8f1a7247 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Thu Jan 18 15:32:21 2018 -0800 |
committer | Peiyong Lin <lpy@google.com> | Fri Jan 19 10:05:30 2018 -0800 |
tree | 63816f16a9ee639a15bad5579d09f736ee808325 | |
parent | 1e9044f1be9c2cbcc524d625edb000ea6ca77b28 [diff] |
[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D. Previously, the format and internal format are the same, however, per https://www.khronos.org/registry/OpenGL-Refpages/es3.1/html/glTexImage2D.xhtml, this is no longer the case, thus we need to convert to proper format when we have the sized format. BUG: 72065799 Test: none Change-Id: Ib1f90db6692b3629928ed664e5c775adfb4f63dd