ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/shader.C
(Generate patch)

Comparing libgender/shader.C (file contents):
Revision 1.19 by root, Thu Oct 28 23:24:49 2004 UTC vs.
Revision 1.20 by root, Fri Oct 29 15:58:50 2004 UTC

154 } 154 }
155#endif 155#endif
156 156
157 //////////////////////////////////////////////////////////////////////////// 157 ////////////////////////////////////////////////////////////////////////////
158 158
159 int texture_units::unit_count = 8;
160 GLenum texture_units::units[8] =
161 {
162 GL_TEXTURE7, GL_TEXTURE6, GL_TEXTURE5, GL_TEXTURE4,
163 GL_TEXTURE3, GL_TEXTURE2, GL_TEXTURE1, GL_TEXTURE0,
164 };
165
159 shader_object_i *cur = 0; 166 shader_object_i *cur = 0;
160 167
161 shader_object_i::shader_object_i (GLenum type) 168 shader_object_i::shader_object_i (GLenum type)
162 : type (type) 169 : type (type)
163 { 170 {
387 } 394 }
388 395
389 396
390 void debdebdebdebug ()//D 397 void debdebdebdebug ()//D
391 { 398 {
399 return;
400
392 vertex_shader vsh; 401 vertex_shader vsh;
393 402
394 vsh->start (); 403 vsh->start ();
395 404
396 temp_4f lightpos; 405 temp_4f lightpos;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines