aboutsummaryrefslogtreecommitdiffstats
path: root/src/headless.rs
diff options
context:
space:
mode:
authorEsption <esption@gmail.com>2015-05-08 12:31:56 -0500
committerEsption <esption@gmail.com>2015-05-08 12:31:56 -0500
commitc973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7 (patch)
tree64a7282c58e3ad6e7de4221b27840caeb857bd87 /src/headless.rs
parent0d10dda72a3d56ec137da0359b2f46fc75b7aaa9 (diff)
downloadglutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.tar.gz
glutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.zip
Fixed build warnings
Diffstat (limited to 'src/headless.rs')
-rw-r--r--src/headless.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/headless.rs b/src/headless.rs
index 566cbee..997d87a 100644
--- a/src/headless.rs
+++ b/src/headless.rs
@@ -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()
}
}
+