wined3d: Avoid an unnecessary strcpy().
This commit is contained in:
parent
b1edb16691
commit
7ec911adeb
|
@ -869,7 +869,7 @@ static void fixup_extensions(WineD3D_GL_Info *gl_info, const char *gl_renderer)
|
|||
driver_version_table[i].lopart_lo);
|
||||
gl_info->driver_version_hipart = MAKEDWORD_VERSION(driver_version_table[i].hipart_hi,
|
||||
driver_version_table[i].hipart_lo);
|
||||
strcpy(gl_info->driver_description, driver_version_table[i].description);
|
||||
gl_info->driver_description = driver_version_table[i].description;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3954,7 +3954,7 @@ typedef struct _WineD3D_GL_Info {
|
|||
UINT vidmem;
|
||||
DWORD driver_version;
|
||||
DWORD driver_version_hipart;
|
||||
CHAR driver_description[255];
|
||||
const char *driver_description;
|
||||
/**
|
||||
* CAPS Constants
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue