Fixed build warnings
This commit is contained in:
parent
0d10dda72a
commit
c973a1f83e
10 changed files with 21 additions and 16 deletions
|
|
@ -106,26 +106,27 @@ impl gl_common::GlFunctionsSource for HeadlessContext {
|
|||
|
||||
impl GlContext for HeadlessContext {
|
||||
unsafe fn make_current(&self) {
|
||||
self.make_current()
|
||||
self.context.make_current()
|
||||
}
|
||||
|
||||
fn is_current(&self) -> bool {
|
||||
self.is_current()
|
||||
self.context.is_current()
|
||||
}
|
||||
|
||||
fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
|
||||
self.get_proc_address(addr)
|
||||
self.context.get_proc_address(addr)
|
||||
}
|
||||
|
||||
fn swap_buffers(&self) {
|
||||
self.swap_buffers()
|
||||
self.context.swap_buffers()
|
||||
}
|
||||
|
||||
fn get_api(&self) -> Api {
|
||||
self.get_api()
|
||||
self.context.get_api()
|
||||
}
|
||||
|
||||
fn get_pixel_format(&self) -> PixelFormat {
|
||||
self.get_pixel_format()
|
||||
self.context.get_pixel_format()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue