aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/wheelevent.rs
diff options
context:
space:
mode:
authorMátyás Mustoha <matyas.mustoha@h-lab.eu>2019-08-26 14:25:47 +0200
committerMátyás Mustoha <matyas.mustoha@h-lab.eu>2019-08-26 15:12:43 +0200
commit736f6859b0a3fc2a42247dd732d7734213cc9eec (patch)
treeba2364cfb2a460d81e693ad3113cec0e18597d42 /components/script/dom/wheelevent.rs
parent66e5ad0cb8a7674ba0ff0a5a9a77ccc8dc3f2b0f (diff)
downloadservo-736f6859b0a3fc2a42247dd732d7734213cc9eec.tar.gz
servo-736f6859b0a3fc2a42247dd732d7734213cc9eec.zip
Fix extension querying when using WebGL2
This patch fixes a crash caused by using a deprecated GL call. Starting with OpenGL 3 (used by WebGL2), the `glGetString(GL_EXTENSIONS)` call is deprecated, and some drivers produce GL_INVALID_ENUM error. Querying can be done by checking the number of extensions first, then getting the extensions one by one.
Diffstat (limited to 'components/script/dom/wheelevent.rs')
0 files changed, 0 insertions, 0 deletions