mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:45:50 +00:00
- driverName can be null, display info.DriverName instead
svn path=/trunk/; revision=41230
This commit is contained in:
parent
ca5fe53784
commit
a10701f6ac
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ ROSGL_ICDForHDC( HDC hdc )
|
||||||
{
|
{
|
||||||
WCHAR Buffer[256];
|
WCHAR Buffer[256];
|
||||||
snwprintf(Buffer, sizeof(Buffer)/sizeof(WCHAR),
|
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,
|
MessageBox(WindowFromDC( hdc ), Buffer,
|
||||||
L"OPENGL32.dll: Warning",
|
L"OPENGL32.dll: Warning",
|
||||||
MB_OK | MB_ICONWARNING);
|
MB_OK | MB_ICONWARNING);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue