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

Comparing libgender/shader.C (file contents):
Revision 1.3 by root, Sat Oct 23 21:53:06 2004 UTC vs.
Revision 1.4 by root, Sat Oct 23 21:55:13 2004 UTC

40 var_i::~var_i () 40 var_i::~var_i ()
41 { 41 {
42 //cgDestroyParameter (param); 42 //cgDestroyParameter (param);
43 } 43 }
44 44
45 stream_i::stream_i (const char *strtype)
46 : var_i (strtype)
47 {
48 sprintf (name, "V%lx_%d", ((long)this >> 4) & 0xfff, ++next_id);
49 }
50
45 temporary_i::temporary_i (const char *strtype) 51 temporary_i::temporary_i (const char *strtype)
46 : var_i (strtype) 52 : var_i (strtype)
47 { 53 {
48 sprintf (name, "T%lx_%d", ((long)this >> 4) & 0xfff, ++next_id); 54 sprintf (name, "T%lx_%d", ((long)this >> 4) & 0xfff, ++next_id);
49 } 55 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines