Fix formatting

This commit is contained in:
Chandler Newman 2020-04-15 12:24:31 +01:00
parent b8df85e744
commit 3c6877f094
1 changed files with 1 additions and 1 deletions

View File

@ -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 _)
} }