tgsi_text: just parse as an integer (value is a boolean).

fixes warning reported by vlee on irc.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2010-12-24 09:28:14 +10:00
parent 0b76255714
commit aaccb73276

View file

@ -1400,7 +1400,6 @@ static boolean parse_property( struct translate_ctx *ctx )
}
break;
case TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS:
break;
default:
if (!parse_uint(&ctx->cur, &values[0] )) {
report_error( ctx, "Expected unsigned integer as property!" );