nv2a: Discard unknown front face

This commit is contained in:
Erik Abair 2021-11-19 15:40:54 -08:00 committed by GitHub
parent 50a5368f47
commit dcad9d62b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1704,9 +1704,8 @@ DEF_METHOD(NV097, SET_FRONT_FACE)
case NV097_SET_FRONT_FACE_V_CCW:
ccw = true; break;
default:
fprintf(stderr, "Unknown front face: 0x%x\n", parameter);
assert(false);
break;
NV2A_DPRINTF("Unknown front face: 0x%08x\n", parameter);
return; /* discard */
}
SET_MASK(pg->regs[NV_PGRAPH_SETUPRASTER],
NV_PGRAPH_SETUPRASTER_FRONTFACE,