glsl_to_tgsi: fix compile error with g++ 4.6
This commit is contained in:
parent
1141c3f4c4
commit
552cc48fca
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue