Use the WGL API to determine extended pixel format, plus fix creation

This commit is contained in:
Pierre Krieger 2015-03-01 10:33:25 +01:00
parent 77d8a11338
commit cf252c29b4
2 changed files with 34 additions and 35 deletions

View file

@ -195,6 +195,7 @@ pub enum MouseCursor {
/// Describes a possible format. Unused.
#[allow(missing_docs)]
#[derive(Debug)]
pub struct PixelFormat {
pub red_bits: u8,
pub green_bits: u8,