Merge pull request #167 from toolness/pathfinder-unity-fun
Add GLDevice::set_default_framebuffer()
This commit is contained in:
commit
4327d75058
|
@ -42,6 +42,10 @@ impl GLDevice {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn set_default_framebuffer(&mut self, framebuffer: GLuint) {
|
||||
self.default_framebuffer = framebuffer;
|
||||
}
|
||||
|
||||
fn set_texture_parameters(&self, texture: &GLTexture) {
|
||||
self.bind_texture(texture, 0);
|
||||
unsafe {
|
||||
|
|
Loading…
Reference in New Issue