def _clear_surface(self, surface, rect=None):
        """ Clear the buffer, taking in account colorkey or alpha

        :return:
        """
        clear_color = self._rgb_clear_color if self._clear_color is None else self._clear_color
        surface.fill(clear_color, rect)
Clear the buffer, taking in account colorkey or alpha

        :return: