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

Comparing libgender/shader.C (file contents):
Revision 1.1 by root, Sat Oct 23 21:43:27 2004 UTC vs.
Revision 1.2 by root, Sat Oct 23 21:47:02 2004 UTC

330 } 330 }
331 }; 331 };
332 332
333 template<> 333 template<>
334 template<class V> 334 template<class V>
335 struct sl_convert< uniform_ref<V> > 335 struct sl_convert< var_ref<V> >
336 { 336 {
337 typedef sl_expr< sl_append< uniform_ref<V> > > T; 337 typedef sl_expr< sl_append< var_ref<V> > > T;
338 static inline const T convert (const uniform_ref<V> &v) 338 static inline const T convert (const var_ref<V> &v)
339 { 339 {
340 return sl_append< uniform_ref<V> > (v); 340 return sl_append< var_ref<V> > (v);
341 } 341 }
342 }; 342 };
343 343
344 template<> 344 template<>
345 struct sl_convert<glvar> 345 struct sl_convert<glvar>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines