aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-12-19 13:06:50 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-12-19 13:06:50 +0100
commit95a60ee32965fa523aa8e9d8694df7c08b9da0ff (patch)
treeb3e61365d99f2c01f973aca461616885e38336da /src/lib.rs
parent0b6418fabbeb0ec9cd326c5397969aceb06f1b41 (diff)
downloadglutin-95a60ee32965fa523aa8e9d8694df7c08b9da0ff.tar.gz
glutin-95a60ee32965fa523aa8e9d8694df7c08b9da0ff.zip
Switch WGL to ChoosePixelFormat
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 32c37e3..794dcb0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -399,6 +399,7 @@ pub struct PixelFormat {
}
/// Describes how the backend should choose a pixel format.
+// TODO: swap method? (swap, copy)
#[derive(Clone, Debug)]
pub struct PixelFormatRequirements {
/// If true, only hardware-accelerated formats will be conisdered. If false, only software