Commit 80dc1f9c authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wined3d: Fix possible buffer overflow.

Increase size of passed buffer to print into.
parent af67bc86
......@@ -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;
......
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