- driverName can be null, display info.DriverName instead

svn path=/trunk/; revision=41230
This commit is contained in:
Kamil Hornicek 2009-05-31 21:54:34 +00:00
parent ca5fe53784
commit a10701f6ac

View file

@ -400,7 +400,7 @@ ROSGL_ICDForHDC( HDC hdc )
{
WCHAR Buffer[256];
snwprintf(Buffer, sizeof(Buffer)/sizeof(WCHAR),
L"Couldn't load driver \"%s\".", driverName);
L"Couldn't load driver \"%s\".", info.DriverName);
MessageBox(WindowFromDC( hdc ), Buffer,
L"OPENGL32.dll: Warning",
MB_OK | MB_ICONWARNING);