pub unsafe fn choose_pixel_format(
hdc: HDC,
integer_attributes: &[PixelFormatAttribute],
max_formats: u32,
pixel_format: &mut i32,
num_formats: &mut u32,
) -> boolExpand description
Chooses a pixel format with the given attributes. See https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/refs/heads/main/extensions/ARB/WGL_ARB_pixel_format.txt
ยงNotes
This wraps ffi::wglChoosePixelFormatARB.
Make sure that integer_attributes is not empty and ends with IntegerAttribute::End.