Fix Win32 device which I just broke!
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2515 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
24bbe96c9c
commit
7287c9369d
|
@ -34,7 +34,8 @@ namespace irr
|
|||
#endif
|
||||
|
||||
#ifdef _IRR_COMPILE_WITH_OPENGL_
|
||||
IVideoDriver* createOpenGLDriver(const irr::SIrrlichtCreationParameters& params, io::IFileSystem* io, this);
|
||||
IVideoDriver* createOpenGLDriver(const irr::SIrrlichtCreationParameters& params,
|
||||
io::IFileSystem* io, CIrrDeviceWin32* device);
|
||||
#endif
|
||||
}
|
||||
} // end namespace irr
|
||||
|
@ -454,7 +455,7 @@ void CIrrDeviceWin32::createDriver()
|
|||
if (CreationParams.Fullscreen)
|
||||
switchToFullScreen(CreationParams.WindowSize.Width, CreationParams.WindowSize.Height, CreationParams.Bits);
|
||||
|
||||
VideoDriver = video::createOpenGLDriver(CreationParams, FileSystem);
|
||||
VideoDriver = video::createOpenGLDriver(CreationParams, FileSystem, this);
|
||||
if (!VideoDriver)
|
||||
{
|
||||
os::Printer::log("Could not create OpenGL driver.", ELL_ERROR);
|
||||
|
|
Loading…
Reference in New Issue