mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
webgl: Make bind* calls more spec-compliant
This commit is contained in:
@@ -50,7 +50,7 @@ pub trait WebGLTextureHelpers {
|
||||
}
|
||||
|
||||
impl<'a> WebGLTextureHelpers for &'a WebGLTexture {
|
||||
fn id(&self) -> u32 {
|
||||
fn id(self) -> u32 {
|
||||
self.id
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user