aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/win32
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/win32')
-rw-r--r--src/api/win32/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/win32/init.rs b/src/api/win32/init.rs
index c3225b6..daa6b5a 100644
--- a/src/api/win32/init.rs
+++ b/src/api/win32/init.rs
@@ -159,7 +159,7 @@ unsafe fn init(title: Vec<u16>, builder: BuilderAttribs<'static>,
};
// creating the OpenGL context
- let context = match builder.gl_version {
+ let context = match builder.opengl.version {
GlRequest::Specific(Api::OpenGlEs, (_major, _minor)) => {
if let Some(egl) = egl {
if let Ok(c) = EglContext::new(egl, &builder,