mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Introduce jsmanaged_array
This commit is contained in:
parent
f20361179d
commit
535765907d
2 changed files with 17 additions and 10 deletions
|
@ -26,7 +26,7 @@ pub enum TexParameterValue {
|
|||
const MAX_LEVEL_COUNT: usize = 31;
|
||||
const MAX_FACE_COUNT: usize = 6;
|
||||
|
||||
unsafe_no_jsmanaged_fields!([ImageInfo; MAX_LEVEL_COUNT * MAX_FACE_COUNT]);
|
||||
jsmanaged_array!(MAX_LEVEL_COUNT * MAX_FACE_COUNT);
|
||||
|
||||
#[dom_struct]
|
||||
pub struct WebGLTexture {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue