aboutsummaryrefslogtreecommitdiffstats
path: root/src/headless.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless.rs')
-rw-r--r--src/headless.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/headless.rs b/src/headless.rs
index f3df83f..dc42108 100644
--- a/src/headless.rs
+++ b/src/headless.rs
@@ -25,13 +25,6 @@ impl HeadlessRendererBuilder {
}
}
- /// THIS FUNCTION IS DEPRECATED
- #[deprecated = "Use with_gl instead"]
- pub fn with_gl_version(mut self, version: (u32, u32)) -> HeadlessRendererBuilder {
- self.attribs.gl_version = GlRequest::Specific(::Api::OpenGl, (version.0 as u8, version.1 as u8));
- self
- }
-
/// Sets how the backend should choose the OpenGL API and version.
pub fn with_gl(mut self, request: GlRequest) -> HeadlessRendererBuilder {
self.attribs.gl_version = request;