Beispiel #1
0
def quit():
    """Quits the underlying SDL2 video subysystem.

    If no other subsystems are active, this will also call
    pygame2.sdl.quit().
    """
    sdl.quit_subsystem(sdl.SDL_INIT_VIDEO)
    if sdl.was_init(0) != 0:
        sdl.quit()
Beispiel #2
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_TIMER)
     sdl.quit()
Beispiel #3
0
 def tearDown(self):
     sdl.quit()
     sdlimage.quit()
Beispiel #4
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_JOYSTICK)
     sdl.quit()
Beispiel #5
0
def sdl_fini():
    sdlimage.quit()
    sdlttf.quit()
    sdl.quit()
Beispiel #6
0
 def tearDown(self):
     sdl.quit()
Beispiel #7
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_EVERYTHING)
     sdl.quit()
Beispiel #8
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_VIDEO)
     sdl.quit()
Beispiel #9
0
 def tearDown(self):
     sdl.quit()
     sdlttf.quit()