Changeset 440 for trunk/nv/interface/image_data.hh
- Timestamp:
- 07/23/15 21:16:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/interface/image_data.hh
r395 r440 16 16 #include <nv/common.hh> 17 17 #include <nv/stl/math.hh> 18 #include < algorithm>18 #include <nv/stl/algorithm/raw.hh> 19 19 20 20 namespace nv … … 58 58 size_t bsize = static_cast<size_t>(m_size.x * m_size.y) * get_depth(); 59 59 m_data = new uint8[ bsize ]; 60 std::copy( data, data + bsize, m_data );60 raw_copy( data, data + bsize, m_data ); 61 61 } 62 62
Note: See TracChangeset
for help on using the changeset viewer.