Changeset 479 for trunk/src/engine


Ignore:
Timestamp:
10/30/15 15:02:06 (10 years ago)
Author:
epyon
Message:
  • resource system cleanups
Location:
trunk/src/engine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine/particle_engine.cc

    r471 r479  
    303303{
    304304        shash64 id = table.get_string_hash_64( "id" );
    305         if ( !id.valid() )
     305        if ( !id )
    306306        {
    307307                NV_LOG_ERROR( "Bad table passed to particle_engine!" )
  • trunk/src/engine/program_manager.cc

    r477 r479  
    3636        }
    3737
    38         add( m_context->get_device()->create_program( vsource, fsource ), id );
     38        add( id, m_context->get_device()->create_program( vsource, fsource ) );
    3939        return true;
    4040}
Note: See TracChangeset for help on using the changeset viewer.