Clear the back buffer.
(self, color=0)
| 211 | pygame.display.flip() |
| 212 | |
| 213 | def clear(self, color=0): |
| 214 | """Clear the back buffer.""" |
| 215 | if not self._initialized: |
| 216 | return |
| 217 | self._pump_events() |
| 218 | self._surface.fill(_rgb565_to_rgb888(color)) |
| 219 | |
| 220 | def get_ticks(self): |
| 221 | """Get milliseconds since init.""" |
no test coverage detected