mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
wined3d: Enable color fixups for vertex shaders.
This commit is contained in:
parent
21d62ed1f1
commit
008c6a00b9
@ -969,6 +969,10 @@ inline static void vshader_program_add_param(IWineD3DVertexShaderImpl *This, con
|
||||
strcat(hwLine, tmpReg);
|
||||
break;
|
||||
case D3DSPR_INPUT:
|
||||
if (reg == This->arrayUsageMap[WINED3DSHADERDECLUSAGE_DIFFUSE]
|
||||
|| reg == This->arrayUsageMap[WINED3DSHADERDECLUSAGE_SPECULAR]) {
|
||||
is_color = TRUE;
|
||||
}
|
||||
/* if the attributes come in as named dcl's then use a named vertex (called namedVertexN) */
|
||||
if (This->namedArrays) {
|
||||
sprintf(tmpReg, "namedVertex%lu", reg);
|
||||
|
Loading…
Reference in New Issue
Block a user