Frees the bitmaps used for the corners of each monitor
| 1793 | |
| 1794 | // Frees the bitmaps used for the corners of each monitor |
| 1795 | void TelcomFreeCorners(void) { |
| 1796 | for (int monitor = 0; monitor < MAX_MONITOR; monitor++) { |
| 1797 | if (!has_corners[monitor]) |
| 1798 | continue; |
| 1799 | |
| 1800 | // destroy the chunked bitmaps of the corners |
| 1801 | if (lt_corners[monitor].pw != 0) { |
| 1802 | bm_DestroyChunkedBitmap(<_corners[monitor]); |
| 1803 | lt_corners[monitor].pw = lt_corners[monitor].ph = 0; |
| 1804 | } |
| 1805 | if (rt_corners[monitor].pw != 0) { |
| 1806 | bm_DestroyChunkedBitmap(&rt_corners[monitor]); |
| 1807 | rt_corners[monitor].pw = rt_corners[monitor].ph = 0; |
| 1808 | } |
| 1809 | if (lb_corners[monitor].pw != 0) { |
| 1810 | bm_DestroyChunkedBitmap(&lb_corners[monitor]); |
| 1811 | lb_corners[monitor].pw = lb_corners[monitor].ph = 0; |
| 1812 | } |
| 1813 | if (rb_corners[monitor].pw != 0) { |
| 1814 | bm_DestroyChunkedBitmap(&rb_corners[monitor]); |
| 1815 | rb_corners[monitor].pw = rb_corners[monitor].ph = 0; |
| 1816 | } |
| 1817 | } |
| 1818 | } |
| 1819 | |
| 1820 | void TelcomDisplayCorners(void) { |
| 1821 | for (int monitor = 0; monitor < MAX_MONITOR; monitor++) { |
no test coverage detected