Ignore:
Timestamp:
08/08/14 13:18:41 (11 years ago)
Author:
epyon
Message:
  • program is now handle-based
  • all device constructs are now handle-based and do not dynamically allocate
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gfx/skeletal_mesh.cc

    r302 r303  
    213213}
    214214
    215 void nv::skeletal_mesh_gpu::update( program* a_program )
     215void nv::skeletal_mesh_gpu::update( program a_program )
    216216{
    217217        if ( m_bone_data )
    218                 a_program->set_opt_uniform_array( "nv_m_bones", m_transform, m_bone_data->get_count() );
     218                m_context->get_device()->set_opt_uniform_array( a_program, "nv_m_bones", m_transform, m_bone_data->get_count() );
    219219}
    220220
Note: See TracChangeset for help on using the changeset viewer.