Warning fixes for OS X.
This commit is contained in:
parent
3e11e5ef69
commit
77b3743117
10 changed files with 17 additions and 19 deletions
|
|
@ -28,8 +28,8 @@ pub struct HeadlessContext {
|
|||
}
|
||||
|
||||
impl HeadlessContext {
|
||||
pub fn new((width, height): (u32, u32), pf_reqs: &PixelFormatRequirements,
|
||||
opengl: &GlAttributes<&HeadlessContext>) -> Result<HeadlessContext, CreationError>
|
||||
pub fn new((width, height): (u32, u32), _pf_reqs: &PixelFormatRequirements,
|
||||
_opengl: &GlAttributes<&HeadlessContext>) -> Result<HeadlessContext, CreationError>
|
||||
{
|
||||
let context = unsafe {
|
||||
let attributes = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue