diff options
author | Carl Worth <[email protected]> | 2010-07-21 13:50:38 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2010-07-21 13:52:33 -0700 |
commit | 56d33f8e2be1695c951a811fac1800117c2ca406 (patch) | |
tree | de4f464f48b3e8c08621ec9d5ccc83ad3fc327ae /src | |
parent | a0cfe8c44085032fd982bbbff1f02252ffaa7114 (diff) |
ir_to_mesa: Add missing initializion of lod_info variable.
To quiet a compiler warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/ir_to_mesa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/ir_to_mesa.cpp b/src/mesa/shader/ir_to_mesa.cpp index d1c09febd6b..a2b2eb95c82 100644 --- a/src/mesa/shader/ir_to_mesa.cpp +++ b/src/mesa/shader/ir_to_mesa.cpp @@ -1564,7 +1564,7 @@ ir_to_mesa_visitor::visit(ir_call *ir) void ir_to_mesa_visitor::visit(ir_texture *ir) { - ir_to_mesa_src_reg result_src, coord, lod_info, projector; + ir_to_mesa_src_reg result_src, coord, lod_info = { 0 }, projector; ir_to_mesa_dst_reg result_dst, coord_dst; ir_to_mesa_instruction *inst = NULL; prog_opcode opcode = OPCODE_NOP; |