Shift in bitmaps (and mem overflow I suppose)
This commit is contained in:
@@ -489,9 +489,6 @@ BitmapBuffer * BitmapBuffer::load(const char * filename)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
*dest++ = w;
|
|
||||||
*dest++ = h;
|
|
||||||
|
|
||||||
for(int row = 0; row < h; ++row) {
|
for(int row = 0; row < h; ++row) {
|
||||||
unsigned char *l = p;
|
unsigned char *l = p;
|
||||||
for(int col = 0; col < w; ++col) {
|
for(int col = 0; col < w; ++col) {
|
||||||
|
|||||||
Reference in New Issue
Block a user