Make some fields in WindowBuilder and HeadlessRendererBuilder public

This commit is contained in:
Pierre Krieger 2015-09-21 15:42:24 +02:00
parent 1b28e32e31
commit e466cfb2d6
2 changed files with 14 additions and 4 deletions

View file

@ -24,9 +24,14 @@ use platform;
/// Object that allows you to build windows.
pub struct WindowBuilder<'a> {
/// The attributes to use to create the window.
pub window: WindowAttributes,
/// The attributes to use to create the context.
pub opengl: GlAttributes<&'a platform::Window>,
// Should be made public once it's stabilized.
pf_reqs: PixelFormatRequirements,
window: WindowAttributes,
opengl: GlAttributes<&'a platform::Window>,
}
impl<'a> WindowBuilder<'a> {