mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 19:10:35 +00:00
ddraw: Return a DLL in szDriver for GetDeviceIdentifier.
This commit is contained in:
parent
963c26b36f
commit
2cb3aeb7b9
@ -35,7 +35,7 @@ static BOOL restore_mode;
|
||||
/* Device identifier. Don't relay it to WineD3D */
|
||||
static const DDDEVICEIDENTIFIER2 deviceidentifier =
|
||||
{
|
||||
"display",
|
||||
"vga.dll", /* default 2D driver */
|
||||
"DirectDraw HAL",
|
||||
{ { 0x00010001, 0x00010001 } },
|
||||
0, 0, 0, 0,
|
||||
|
@ -988,6 +988,8 @@ static void testddraw7(void)
|
||||
|
||||
if (hr==DD_OK)
|
||||
{
|
||||
/* szDriver contains the name of the driver DLL */
|
||||
ok(strstr(pdddi2->szDriver, ".dll")!=NULL, "szDriver does not contain DLL name\n");
|
||||
/* check how strings are copied into the structure */
|
||||
ok(pdddi2->szDriver[MAX_DDDEVICEID_STRING - 1]==0, "szDriver not cleared\n");
|
||||
ok(pdddi2->szDescription[MAX_DDDEVICEID_STRING - 1]==0, "szDescription not cleared\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user