wined3d: Fix possible buffer overflow.

Increase size of passed buffer to print into.
This commit is contained in:
Marcus Meissner 2006-05-06 23:25:18 +02:00 committed by Alexandre Julliard
parent af67bc864e
commit 80dc1f9cb3
1 changed files with 2 additions and 2 deletions

View File

@ -1225,8 +1225,8 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
break;
case D3DSIO_TEX:
{
char reg_dest[20];
char reg_coord[20];
char reg_dest[40];
char reg_coord[40];
char reg_coord_swz[20] = "";
DWORD reg_dest_code;
DWORD reg_sampler_code;