mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user