glsl_to_tgsi: fix compile error with g++ 4.6

This commit is contained in:
Bryan Cain 2011-06-16 13:42:57 -05:00
parent 1141c3f4c4
commit 552cc48fca
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ public:
void *mem_ctx;
};
static st_src_reg undef_src = st_src_reg(PROGRAM_UNDEFINED, 0, NULL);
static st_src_reg undef_src = st_src_reg(PROGRAM_UNDEFINED, 0, GLSL_TYPE_ERROR);
static st_dst_reg undef_dst = st_dst_reg(PROGRAM_UNDEFINED, SWIZZLE_NOOP, GLSL_TYPE_ERROR);