Changeset 70 for trunk/src/gl/gl_program.cc
- Timestamp:
- 06/01/13 00:24:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_program.cc
r62 r70 156 156 int attr_loc = glGetAttribLocation( m_name.get_value(), name.c_str() ); 157 157 158 m_attribute_map[ name ] = new attribute( name, attr_loc, gl_enum_to_ type( attr_type ), attr_len );158 m_attribute_map[ name ] = new attribute( name, attr_loc, gl_enum_to_datatype( attr_type ), attr_len ); 159 159 } 160 160 } … … 180 180 181 181 int uni_loc = glGetUniformLocation( m_name.get_value(), name.c_str() ); 182 etype utype = gl_enum_to_type( uni_type );182 datatype utype = gl_enum_to_datatype( uni_type ); 183 183 m_uniform_map[ name ] = create_uniform( utype, name, uni_loc, uni_len ); 184 184 }
Note: See TracChangeset
for help on using the changeset viewer.