commit | 7b827596f4351ef88a3b03eedbc273d0a5309ff4 | [log] [tgz] |
---|---|---|
author | Geoff Lang <geofflang@chromium.org> | Thu May 08 11:12:26 2014 -0400 |
committer | Geoff Lang <geofflang@chromium.org> | Thu May 08 20:59:42 2014 +0000 |
tree | 531ddfe6553da04757b43c72420f9f0b68ec954e | |
parent | d3ff90090a11257e4a6fa6d3663d3d2296aba161 [diff] |
Fix BufferStorage11::getLatestStorage not finding the latest buffer. If there are only buffers with data revision 0, getLatestStorage will skip over them. Fixed the if statement so that it will always find a buffer if one exists. BUG=angle:644 Change-Id: I24fc426383c9ae18b7ccf2f8937a9daa7a071ebe Reviewed-on: https://chromium-review.googlesource.com/198826 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>