Exemplo n.º 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()
Exemplo n.º 2
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_TIMER)
     sdl.quit()
Exemplo n.º 3
0
 def tearDown(self):
     sdl.quit()
     sdlimage.quit()
Exemplo n.º 4
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_JOYSTICK)
     sdl.quit()
Exemplo n.º 5
0
Arquivo: gl.py Projeto: lxnt/fgtestbed
def sdl_fini():
    sdlimage.quit()
    sdlttf.quit()
    sdl.quit()
Exemplo n.º 6
0
 def tearDown(self):
     sdl.quit()
Exemplo n.º 7
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_EVERYTHING)
     sdl.quit()
Exemplo n.º 8
0
 def tearDown(self):
     sdl.quit_subsystem(sdl.SDL_INIT_VIDEO)
     sdl.quit()
Exemplo n.º 9
0
 def tearDown(self):
     sdl.quit()
     sdlttf.quit()