wined3d: Fix error handling in fixed_get_input().

This commit is contained in:
Gerald Pfeifer 2007-12-03 20:41:31 +01:00 committed by Alexandre Julliard
parent 65d2f8a68d
commit f4ec0a209b
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ static BOOL fixed_get_input(
else if (usage == WINED3DDECLUSAGE_SAMPLE && usage_idx == 0)
*regnum = 14 + WINED3DDP_MAXTEXCOORD;
if (*regnum < 0) {
if (*regnum == -1) {
FIXME("Unsupported input stream [usage=%s, usage_idx=%u]\n",
debug_d3ddeclusage(usage), usage_idx);
return FALSE;