fixes 64 bit to 32 warnings, see #16329
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1a5b712103
commit
a993ff5255
@ -89,7 +89,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList)
|
|||||||
NSOpenGLPFAAlphaSize,(NSOpenGLPixelFormatAttribute)0,
|
NSOpenGLPFAAlphaSize,(NSOpenGLPixelFormatAttribute)0,
|
||||||
NSOpenGLPFADepthSize,(NSOpenGLPixelFormatAttribute)8,
|
NSOpenGLPFADepthSize,(NSOpenGLPixelFormatAttribute)8,
|
||||||
NSOpenGLPFAAccelerated, // use hardware accelerated context
|
NSOpenGLPFAAccelerated, // use hardware accelerated context
|
||||||
(NSOpenGLPixelFormatAttribute)nil
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
const NSOpenGLPixelFormatAttribute *attribs;
|
const NSOpenGLPixelFormatAttribute *attribs;
|
||||||
@ -216,7 +216,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
data[p] = (NSOpenGLPixelFormatAttribute)nil;
|
data[p] = 0;
|
||||||
|
|
||||||
attribs = data;
|
attribs = data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user