mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +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
|
@ -10,7 +10,7 @@ use canvas_traits::webgl::{GlType, TexFormat, WebGLSLVersion, WebGLVersion};
|
|||
use fnv::{FnvHashMap, FnvHashSet};
|
||||
use js::jsapi::JSObject;
|
||||
use malloc_size_of::MallocSizeOf;
|
||||
use sparkle::gl::{self, GLenum};
|
||||
type GLenum = u32;
|
||||
|
||||
use super::wrapper::{TypedWebGLExtensionWrapper, WebGLExtensionWrapper};
|
||||
use super::{ext, WebGLExtension, WebGLExtensionSpec};
|
||||
|
@ -461,7 +461,7 @@ impl WebGLExtensions {
|
|||
if type_ == OESTextureHalfFloatConstants::HALF_FLOAT_OES &&
|
||||
!self.supports_gl_extension("GL_OES_texture_half_float")
|
||||
{
|
||||
return gl::HALF_FLOAT;
|
||||
return glow::HALF_FLOAT;
|
||||
}
|
||||
type_
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue