tgsi_text: just parse as an integer (value is a boolean).
authorDave Airlie <airlied@redhat.com>
Thu, 23 Dec 2010 23:28:14 +0000 (09:28 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Dec 2010 23:29:19 +0000 (09:29 +1000)
fixes warning reported by vlee on irc.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_text.c

index ccb17b77504aba9e7ca7d13b01e979fabb6444a2..6778d9abb0b36e287900abba824caca13afe358d 100644 (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!" );