Module: Mesa
Branch: master
Commit: e88f9b9546119db83e19b1bdd2bc9db45058cebd
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e88f9b9546119db83e19b1bdd2bc9db45058cebd

Author: José Fonseca <[email protected]>
Date:   Tue May 15 12:27:15 2012 +0100

glsl: Fix lower_discard_flow prototype mismatch.

Should fix MSVC link failure.

---

 src/glsl/ir_optimization.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h
index cca6382..c435d77 100644
--- a/src/glsl/ir_optimization.h
+++ b/src/glsl/ir_optimization.h
@@ -66,7 +66,7 @@ bool do_tree_grafting(exec_list *instructions);
 bool do_vec_index_to_cond_assign(exec_list *instructions);
 bool do_vec_index_to_swizzle(exec_list *instructions);
 bool lower_discard(exec_list *instructions);
-bool lower_discard_flow(exec_list *instructions);
+void lower_discard_flow(exec_list *instructions);
 bool lower_instructions(exec_list *instructions, unsigned what_to_lower);
 bool lower_noise(exec_list *instructions);
 bool lower_variable_index_to_cond_assign(exec_list *instructions,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to