mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
webgl: Rename UniformType to UniformSetterType and hoist to the bottom
This commit is contained in:
parent
6a15c2f245
commit
bc08762414
2 changed files with 98 additions and 79 deletions
|
@ -28,10 +28,7 @@ impl WebGLUniformLocation {
|
|||
reflect_dom_object(
|
||||
box WebGLUniformLocation::new_inherited(id, program_id), global, WebGLUniformLocationBinding::Wrap)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
impl WebGLUniformLocation {
|
||||
pub fn id(&self) -> i32 {
|
||||
self.id
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue