#endif
int irr_createDevice(irr_video_E_DRIVER_TYPE deviceType,
- irr_core_dimension2d_u32 windowSize);
+ const irr_core_dimension2d_u32* windowSize);
#ifdef __cplusplus
}
extern "C" {
int irr_createDevice(irr_video_E_DRIVER_TYPE deviceType,
- irr_core_dimension2d_u32 windowSize)
+ const irr_core_dimension2d_u32* windowSize)
{
irr::core::dimension2d<irr::u32> wsize = \
- irr::core::dimension2d<irr::u32>(windowSize.width,
- windowSize.height);
+ irr::core::dimension2d<irr::u32>(windowSize->width,
+ windowSize->height);
irr::createDevice((irr::video::E_DRIVER_TYPE)deviceType,
wsize);
return 0;