Changeset 487 for trunk/src/gfx/texture_font.cc
- Timestamp:
- 03/08/16 08:05:51 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/texture_font.cc
r471 r487 80 80 static uint8* convert_to_rgba(uint8* rgb, const int lines, const int line_count, const int line_bpitch ) 81 81 { 82 uint8* result = new uint8[ lines * line_count * 4];82 uint8* result = new uint8[ static_cast< uint32 >( lines * line_count * 4 ) ]; 83 83 uint8* rgba = result; 84 84 for(int l=0; l<lines; ++l)
Note: See TracChangeset
for help on using the changeset viewer.