diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 22:21:44 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-14 22:21:44 +0000 |
commit | 501b5740bca518414fa38567d10c17312924c28b (patch) | |
tree | abe1a7cc0bc7856a974e4da08ee3eba82693bde1 /ui/message_center | |
parent | c66cae4f0fc034b034ac480a41f473f666003db2 (diff) | |
download | chromium_src-501b5740bca518414fa38567d10c17312924c28b.zip chromium_src-501b5740bca518414fa38567d10c17312924c28b.tar.gz chromium_src-501b5740bca518414fa38567d10c17312924c28b.tar.bz2 |
Don't actually call glGetShaderPrecisionFormat unless running either on a GLES2 implementation or unit tests. Calling it on some Mac OS OpenGL drivers causes a GL_INVALID_OPERATION which breaks either the WebGL implementation or applications later.
This should have been caught by the GPU bots.
Tested with WebGL conformance tests, the shiny-teapot demo, and gpu_unittests.
BUG=192533
Review URL: https://codereview.chromium.org/12544023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center')
0 files changed, 0 insertions, 0 deletions