Commit 7ec911ad authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Avoid an unnecessary strcpy().

parent b1edb166
...@@ -869,7 +869,7 @@ static void fixup_extensions(WineD3D_GL_Info *gl_info, const char *gl_renderer) ...@@ -869,7 +869,7 @@ static void fixup_extensions(WineD3D_GL_Info *gl_info, const char *gl_renderer)
driver_version_table[i].lopart_lo); driver_version_table[i].lopart_lo);
gl_info->driver_version_hipart = MAKEDWORD_VERSION(driver_version_table[i].hipart_hi, gl_info->driver_version_hipart = MAKEDWORD_VERSION(driver_version_table[i].hipart_hi,
driver_version_table[i].hipart_lo); 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; break;
} }
} }
......
...@@ -3954,7 +3954,7 @@ typedef struct _WineD3D_GL_Info { ...@@ -3954,7 +3954,7 @@ typedef struct _WineD3D_GL_Info {
UINT vidmem; UINT vidmem;
DWORD driver_version; DWORD driver_version;
DWORD driver_version_hipart; DWORD driver_version_hipart;
CHAR driver_description[255]; const char *driver_description;
/** /**
* CAPS Constants * CAPS Constants
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment