diff options
author | Bryan Cain <[email protected]> | 2011-06-16 13:42:57 -0500 |
---|---|---|
committer | Bryan Cain <[email protected]> | 2011-08-01 17:59:08 -0500 |
commit | 552cc48fca9b932fceb3d8fa7f9d0067f46b67c2 (patch) | |
tree | 808461e128da90437585eb85ab32fbb3e928ef54 | |
parent | 1141c3f4c4014e3c2834db65b96a3ba7cc78744a (diff) |
glsl_to_tgsi: fix compile error with g++ 4.6
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 5fedf263090..6c92441a105 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -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); |