diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2018-09-20 12:55:47 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-09-20 15:00:47 +0200 |
commit | 60c93cfabe20acb08444c8e73a7c7e9e46f194ea (patch) | |
tree | 07cf81a4acd3681cfe0092fab92b2c651163023f /components/script/dom/webglrenderingcontext.rs | |
parent | d60b14bed5085598a25f016c96c4789a5b01f6e1 (diff) | |
download | servo-60c93cfabe20acb08444c8e73a7c7e9e46f194ea.tar.gz servo-60c93cfabe20acb08444c8e73a7c7e9e46f194ea.zip |
Validate GLSL names (fixes #21287)
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r-- | components/script/dom/webglrenderingcontext.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index f299b3ff2e4..2ee227427e3 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -77,8 +77,6 @@ pub fn is_gles() -> bool { cfg!(any(target_os = "android", target_os = "ios")) } -pub const MAX_UNIFORM_AND_ATTRIBUTE_LEN: usize = 256; - // From the GLES 2.0.25 spec, page 85: // // "If a texture that is currently bound to one of the targets |