@@ -103,6 +103,7 @@ insula::graphics::shader::object::object(
103
103
return s + v.declaration ();
104
104
});
105
105
106
+ /*
106
107
fcppt::io::cout << "Generated header: " << header << "\n";
107
108
fcppt::io::cout << "Got format declaration: " << format_declaration << "\n";
108
109
fcppt::io::cout << "Preprocessed vertex shader: " <<
@@ -111,6 +112,7 @@ insula::graphics::shader::object::object(
111
112
vertex),
112
113
std::string("$$$HEADER$$$"),
113
114
format_declaration+header) << "\n";
115
+ */
114
116
115
117
program_ =
116
118
renderer_->create_glsl_program (
@@ -131,13 +133,13 @@ insula::graphics::shader::object::object(
131
133
renderer_,
132
134
program_);
133
135
134
- fcppt::io::cout << " Iterating through variables\n " ;
136
+ // fcppt::io::cout << "Iterating through variables\n";
135
137
BOOST_FOREACH (variable const &v,_variables)
136
138
{
137
139
if (v.type () != variable_type::uniform)
138
140
continue ;
139
141
140
- fcppt::io::cout << " Setting initial value for variable " << v.name () << " \n " ;
142
+ // fcppt::io::cout << "Setting initial value for variable " << v.name() << "\n";
141
143
// TODO: See above
142
144
fcppt::variant::apply_unary (
143
145
uniform_setter (
@@ -147,9 +149,9 @@ insula::graphics::shader::object::object(
147
149
program_->uniform (v.name ()))).first ->second ),
148
150
v.initial_value ());
149
151
}
150
- fcppt::io::cout << " Iterating through variables - DONE\n " ;
152
+ // fcppt::io::cout << "Iterating through variables - DONE\n";
151
153
152
- fcppt::io::cout << " Now iterating though samplers\n " ;
154
+ // fcppt::io::cout << "Now iterating though samplers\n";
153
155
sampler::texture_unit_type current_tu =
154
156
static_cast <sampler::texture_unit_type>(0 );
155
157
BOOST_FOREACH (
@@ -159,8 +161,8 @@ insula::graphics::shader::object::object(
159
161
samplers_.push_back (
160
162
v);
161
163
162
- fcppt::io::cout
163
- << " Assigning " << v.name () << " the texture unit " << current_tu << " \n " ;
164
+ /* fcppt::io::cout
165
+ << "Assigning " << v.name() << " the texture unit " << current_tu << "\n";*/
164
166
165
167
sge::renderer::glsl::uniform::single_value (
166
168
uniforms_.insert (
0 commit comments