wined3d: Fix error handling in fixed_get_input().
This commit is contained in:
parent
65d2f8a68d
commit
f4ec0a209b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue