webgl: Make bind* calls more spec-compliant

This commit is contained in:
ecoal95 2015-06-15 00:22:15 +02:00
parent b1765c6882
commit 42bd43a696
8 changed files with 72 additions and 37 deletions

View file

@ -50,7 +50,7 @@ pub trait WebGLTextureHelpers {
}
impl<'a> WebGLTextureHelpers for &'a WebGLTexture {
fn id(&self) -> u32 {
fn id(self) -> u32 {
self.id
}