Fix formatting
This commit is contained in:
parent
b8df85e744
commit
3c6877f094
|
@ -47,5 +47,5 @@ pub trait GLGraphicsBackend {
|
||||||
/// and may only be used in combination with the backend. Using this with any
|
/// and may only be used in combination with the backend. Using this with any
|
||||||
/// other gl context or after the backend was dropped *may* cause undefined behavior.
|
/// other gl context or after the backend was dropped *may* cause undefined behavior.
|
||||||
pub fn load_raw_gl<B: GLGraphicsBackend>(backend: &B) -> Gles2 {
|
pub fn load_raw_gl<B: GLGraphicsBackend>(backend: &B) -> Gles2 {
|
||||||
Gles2::load_with(|s| { backend.get_proc_address(s) as *const _ })
|
Gles2::load_with(|s| backend.get_proc_address(s) as *const _)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue