mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Validate GLSL names (fixes #21287)
This commit is contained in:
parent
d60b14bed5
commit
60c93cfabe
3 changed files with 68 additions and 79 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue