comparison eosd @ 513:5e3e0b09a531

Move the OpenGL backend to its own package.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 05 Dec 2013 02:16:31 +0100
parents b39ad30c6620
children 64d9117b9209
comparison
equal deleted inserted replaced
512:b39ad30c6620 513:5e3e0b09a531
56 56
57 import sys 57 import sys
58 import logging 58 import logging
59 59
60 if args.backend == 'opengl': 60 if args.backend == 'opengl':
61 from pytouhou.ui.gamerenderer import GameRenderer 61 from pytouhou.ui.opengl.gamerenderer import GameRenderer
62 opengl = True 62 opengl = True
63 elif args.backend == 'sdl': 63 elif args.backend == 'sdl':
64 from pytouhou.ui.sdl.gamerenderer import GameRenderer 64 from pytouhou.ui.sdl.gamerenderer import GameRenderer
65 opengl = False 65 opengl = False
66 66