replace sparkle with glow in components/script (#33911)

* replace sparkle's GlType with canvas_traits's GlType

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* remove sparkle from components/servo

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* remove sparkle from script

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:
Samson 2024-10-19 12:40:03 +02:00 committed by GitHub
parent a13900c4f8
commit 76bedf28e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 7 deletions

View file

@ -139,9 +139,9 @@ impl XRWebGLLayer {
fn texture_target(&self) -> u32 {
if cfg!(target_os = "macos") {
sparkle::gl::TEXTURE_RECTANGLE
glow::TEXTURE_RECTANGLE
} else {
sparkle::gl::TEXTURE_2D
glow::TEXTURE_2D
}
}