diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2018-10-16 17:08:15 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-10-18 20:15:23 +0200 |
commit | 8828925f4f2be35b8996a8db1acc85d5f063144c (patch) | |
tree | 6245a3436fa4ab4b4adc6e9418a5159abef761c6 /components/script/dom/webglrenderingcontext.rs | |
parent | aa9591137a0a583c4b4718f4038545a860fbaeee (diff) | |
download | servo-8828925f4f2be35b8996a8db1acc85d5f063144c.tar.gz servo-8828925f4f2be35b8996a8db1acc85d5f063144c.zip |
Properly support gl_PointSize and gl_PointCoord
Fixes #21719.
Fixes #20993.
Fixes #20992.
Fixes #21007.
Fixes #20979.
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r-- | components/script/dom/webglrenderingcontext.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index c8f2b1fce4f..123e3e490be 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -73,12 +73,6 @@ use std::cmp; use std::ptr::{self, NonNull}; use webrender_api; -pub fn is_gles() -> bool { - // TODO: align this with the actual kind of graphics context in use, rather than - // making assumptions based on platform - cfg!(any(target_os = "android", target_os = "ios")) -} - // From the GLES 2.0.25 spec, page 85: // // "If a texture that is currently bound to one of the targets |