Switch WGL to ChoosePixelFormat
This commit is contained in:
parent
0b6418fabb
commit
95a60ee329
3 changed files with 317 additions and 116 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue