diff options
author | tschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 00:12:33 +0000 |
---|---|---|
committer | tschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 00:12:33 +0000 |
commit | 4f2fe461d79175b39787686b76d36b7518e132fd (patch) | |
tree | c4fcf2c211c23eb89c8cd4509a62fe6dd4071af5 /gfx/canvas.h | |
parent | c8407807eaf80b28aeacfa4dd07bdc26d2f2bf38 (diff) | |
download | chromium_src-4f2fe461d79175b39787686b76d36b7518e132fd.zip chromium_src-4f2fe461d79175b39787686b76d36b7518e132fd.tar.gz chromium_src-4f2fe461d79175b39787686b76d36b7518e132fd.tar.bz2 |
Flush GL errors before any operation that checks for GL errors afterwards, so as to prevent operations from spuriously failing due to previous unrelated errors. Fixes a bug on Linux T400s with AMD graphics where we "failed" to create the error texture because of a previous non-fatal error that hadn't been reaped.
TEST=ran a debug build on a Linux T400 with AMD graphics
BUG=none
Review URL: http://codereview.chromium.org/1912001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/canvas.h')
0 files changed, 0 insertions, 0 deletions