wined3d: baseShader.functionLength should be 0 when a NULL pFunction is passed.
This commit is contained in:
parent
a2f259afff
commit
15d497cb26
|
@ -997,7 +997,7 @@ void shader_trace_init(
|
||||||
if (!pFunction)
|
if (!pFunction)
|
||||||
{
|
{
|
||||||
WARN("Got a NULL pFunction, returning.\n");
|
WARN("Got a NULL pFunction, returning.\n");
|
||||||
This->baseShader.functionLength = 1; /* no Function defined use fixed function vertex processing */
|
This->baseShader.functionLength = 0; /* no Function defined use fixed function vertex processing */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue