h6. [[VideoOverlay]] h6(. » [[VideoOverlay SWI Calls|SWI Calls]] h6((. » VideoOverlay_DiscardBuffer h2. VideoOverlay_DiscardBuffer h5. (SWI &59CC5) |_<^{width:3em}. Entry |<^. | |<^. R0|<^. Overlay ID | |<^. R1|<^. Buffer number | |_<^{width:3em}. Exit |<^. | |- |<^. All registers preserved | h4. Use Discards a buffer, allowing the driver to potentially free the memory that was allocated to it. If necessary, the buffer will be unmapped first. If the overlay is currently displaying this buffer, then the overlay will be hidden.