Ticket #8733: thumbnail.diff
File thumbnail.diff, 595 bytes (added by , 17 years ago) |
---|
-
engines/scumm/thumbnail.cpp
79 79 } 80 80 81 81 Graphics::Surface *thumb = new Graphics::Surface(); 82 thumb->create(header.width, header.height, sizeof( uint16));82 thumb->create(header.width, header.height, sizeof(OverlayColor)); 83 83 84 uint16* pixels = (uint16*)thumb->pixels;84 OverlayColor* pixels = (OverlayColor *)thumb->pixels; 85 85 86 86 for (int y = 0; y < thumb->h; ++y) { 87 87 for (int x = 0; x < thumb->w; ++x) {