mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
webgl: Make bind* calls more spec-compliant
This commit is contained in:
parent
b1765c6882
commit
42bd43a696
8 changed files with 72 additions and 37 deletions
|
@ -50,7 +50,7 @@ pub trait WebGLTextureHelpers {
|
|||
}
|
||||
|
||||
impl<'a> WebGLTextureHelpers for &'a WebGLTexture {
|
||||
fn id(&self) -> u32 {
|
||||
fn id(self) -> u32 {
|
||||
self.id
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue