aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wgl
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-07-20 19:42:32 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-07-20 19:42:32 +0200
commit57a1d546e7ea80731a20f0771676f66f0cf595f9 (patch)
tree71fab1fec33319589fe322779e0dc027dc864d9c /src/api/wgl
parent43dabf131aa9f76610e1cfd0685e3b36de8c2ebd (diff)
downloadglutin-57a1d546e7ea80731a20f0771676f66f0cf595f9.tar.gz
glutin-57a1d546e7ea80731a20f0771676f66f0cf595f9.zip
Add CreationError::NoAvailablePixelFormat
Diffstat (limited to 'src/api/wgl')
-rw-r--r--src/api/wgl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/wgl/mod.rs b/src/api/wgl/mod.rs
index 54a9a9a..89538f1 100644
--- a/src/api/wgl/mod.rs
+++ b/src/api/wgl/mod.rs
@@ -573,5 +573,5 @@ fn choose_dummy_pixel_format<I>(iter: I) -> Result<libc::c_int, CreationError>
}
}
- backup_id.ok_or(CreationError::NotSupported)
+ backup_id.ok_or(CreationError::OsError("No available pixel format".to_string()))
}