wined3d: baseShader.functionLength should be 0 when a NULL pFunction is passed.

This commit is contained in:
Henri Verbeet 2008-12-11 11:52:37 +01:00 committed by Alexandre Julliard
parent a2f259afff
commit 15d497cb26
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}