commit | 1a2cd269e606257bb1bb9d2a40ba4848aaf469dc | [log] [tgz] |
---|---|---|
author | kbr@chromium.org <kbr@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jul 08 17:30:18 2011 +0000 |
committer | kbr@chromium.org <kbr@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Fri Jul 08 17:30:18 2011 +0000 |
tree | 78f82227635ec527e5fb23a7c57df3be14cf92ec | |
parent | b0eb69789ac6710fb90b51d3cb218932270604b9 [diff] |
Changed two assertions to explicit tests, and added an error code to those checked during ReadPixels. These changes are needed to avoid having ANGLE assert in debug builds when running WebGL test cases which provoke a GPU reset. BUG=none TEST=slow-shader-example and lots-of-polys-example in WebGL test suite Review URL: http://codereview.appspot.com/4684042 git-svn-id: https://angleproject.googlecode.com/svn/trunk@703 736b8ea6-26fd-11df-bfd4-992fa37f6226