mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
a13900c4f8
commit
76bedf28e0
5 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue