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