Changeset 382 for trunk/src/engine
- Timestamp:
- 06/01/15 20:39:35 (10 years ago)
- Location:
- trunk/src/engine
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/engine/particle_engine.cc
r374 r382 368 368 { 369 369 edata.emmiter_func = nv_particle_emmiter_point; 370 NV_LOG_WARNING( "Unknown emmiter type in particle system! (", sub_type , ")" );370 NV_LOG_WARNING( "Unknown emmiter type in particle system! (", sub_type.c_str(), ")" ); 371 371 } 372 372 -
trunk/src/engine/program_manager.cc
r380 r382 37 37 } 38 38 39 nv::program program = m_context->get_device()->create_program( vsource, fsource);39 nv::program program = m_context->get_device()->create_program( string_ref( vsource ), string_ref( fsource ) ); 40 40 return add( program ); 41 41 } -
trunk/src/engine/resource_system.cc
r380 r382 12 12 { 13 13 m_lua = a_lua_state; 14 lua::register_storage( m_lua, get_storage_name(), "register_" + get_resource_name().to_string() );14 lua::register_storage( m_lua, get_storage_name(), string_ref( "register_" + get_resource_name().to_string() ) ); 15 15 } 16 16
Note: See TracChangeset
for help on using the changeset viewer.