aboutsummaryrefslogtreecommitdiffstats
path: root/src/headless.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-04-02 09:52:21 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-04-02 09:52:21 +0200
commite51b694d596d5709c35219d1c34c6c7130134472 (patch)
tree9381a367d2757f2e968dacc2d6d0e4305d3736b7 /src/headless.rs
parentf0f4a96d50c1a19d46c541401543f8ff3bd53cbf (diff)
parent414335e0fc965ddfb8fdf3b7cf8ba7a7e2f20c56 (diff)
downloadglutin-e51b694d596d5709c35219d1c34c6c7130134472.tar.gz
glutin-e51b694d596d5709c35219d1c34c6c7130134472.zip
Merge pull request #340 from tomaka/winimpl-platform
Rename "winimpl" module to "platform"
Diffstat (limited to 'src/headless.rs')
-rw-r--r--src/headless.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/headless.rs b/src/headless.rs
index 5106a7b..f3df83f 100644
--- a/src/headless.rs
+++ b/src/headless.rs
@@ -6,7 +6,7 @@ use GlRequest;
use gl_common;
use libc;
-use winimpl;
+use platform;
/// Object that allows you to build headless contexts.
pub struct HeadlessRendererBuilder {
@@ -52,7 +52,7 @@ impl HeadlessRendererBuilder {
/// Error should be very rare and only occur in case of permission denied, incompatible system,
/// out of memory, etc.
pub fn build(self) -> Result<HeadlessContext, CreationError> {
- winimpl::HeadlessContext::new(self.attribs).map(|w| HeadlessContext { context: w })
+ platform::HeadlessContext::new(self.attribs).map(|w| HeadlessContext { context: w })
}
/// Builds the headless context.
@@ -67,7 +67,7 @@ impl HeadlessRendererBuilder {
/// Represents a headless OpenGL context.
pub struct HeadlessContext {
- context: winimpl::HeadlessContext,
+ context: platform::HeadlessContext,
}
impl HeadlessContext {