diff options
author | Peiyong Lin <lpy@google.com> | 2018-01-18 15:32:21 -0800 |
---|---|---|
committer | Peiyong Lin <lpy@google.com> | 2018-01-19 10:05:30 -0800 |
commit | 4caf5da048ea205f9e07a31c82a419ea8f1a7247 (patch) | |
tree | 63816f16a9ee639a15bad5579d09f736ee808325 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions