Exemple #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()
Exemple #2
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_TIMER)
     sdl.quit()
Exemple #3
0
 def tearDown(self):
     sdl.quit()
     sdlimage.quit()
Exemple #4
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_JOYSTICK)
     sdl.quit()
Exemple #5
0
def sdl_fini():
    sdlimage.quit()
    sdlttf.quit()
    sdl.quit()
Exemple #6
0
 def tearDown(self):
     sdl.quit()
Exemple #7
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_EVERYTHING)
     sdl.quit()
Exemple #8
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_VIDEO)
     sdl.quit()
Exemple #9
0
 def tearDown(self):
     sdl.quit()
     sdlttf.quit()