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