destroys a chunked bitmap.
| 1516 | } |
| 1517 | // destroys a chunked bitmap. |
| 1518 | void bm_DestroyChunkedBitmap(chunked_bitmap *chunk) { |
| 1519 | int i, num_bmps = chunk->w * chunk->h; |
| 1520 | for (i = 0; i < num_bmps; i++) |
| 1521 | bm_FreeBitmap(chunk->bm_array[i]); |
| 1522 | mem_free(chunk->bm_array); |
| 1523 | chunk->bm_array = NULL; |
| 1524 | } |
| 1525 | // Changes the size of a bitmap to a new size |
| 1526 | void bm_ChangeSize(int handle, int new_w, int new_h) { |
| 1527 | int mipped = bm_mipped(handle); |
no test coverage detected