mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Replace sparkle
with glow
in components/canvas
(#33918)
* Replace sparkle with glow in components/canvas Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Replace safe_gl with #34300 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
910e8dc89f
commit
063071ba72
12 changed files with 958 additions and 703 deletions
|
@ -219,11 +219,11 @@ impl VertexArrayObject {
|
|||
let mut has_active_attrib = false;
|
||||
let mut has_divisor_0 = false;
|
||||
for active_info in active_attribs {
|
||||
if active_info.location < 0 {
|
||||
let Some(location) = active_info.location else {
|
||||
continue;
|
||||
}
|
||||
};
|
||||
has_active_attrib = true;
|
||||
let attrib = &attribs[active_info.location as usize];
|
||||
let attrib = &attribs[location as usize];
|
||||
if attrib.divisor == 0 {
|
||||
has_divisor_0 = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue