You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detect if the image data is all zero: if so, send an empty buffer.
This happens for a texture atlas, which is later filled with
texSubImage2D, discarding the data originally sent, so not sending the
data improves performance, notably reducing the loading time.
Change-Id: Ife298bb5e8d7ee96b800f06fcb8371a6d08d2101
Reviewed-by: Mårten Nordheim <[email protected]>
Reviewed-by: Edward Welbourne <[email protected]>
0 commit comments