1: #line 121 "./lpsrc/flx_sdl.pak"
2: execfile("cpkgs"+os.sep+"target"+os.sep+"sdl.py")
3: if HAVE_SDL:
4: DRIVERS = [
5: ('static','rtl/flx_arun','bin/flx_arun',[]),
6: ('dynamic','rtl/flx_arun','bin/flx_arun',[]),
7: ]
8: DRLIBS = [
9: 'libflx_async',
10: 'libfaio',
11: 'libdemux',
12: 'libflx_pthread',
13: 'libflx',
14: 'libflx_gc',
15: ]
16:
17: drivers = DRIVERS
18: drivers_require_libs = DRLIBS
19: pkg_requires = ['flx_rtl','flx_async','faio','demux','flx_pthread','sdl']
20: cflags = SDL_CFLAGS
21: dflags = SDL_LIBS
22: sflags = SDL_STATIC_LIBS
1: #line 145 "./lpsrc/flx_sdl.pak"
2:
3:
4:
5:
6: int
7: main(int argc, char** argv)
8: {
9: if(SDL_Init(SDL_INIT_VIDEO) == -1
10: || SDL_SetVideoMode(640, 480, 32, SDL_ANYFORMAT | SDL_OPENGL) == NULL)
11: {
12: return 1;
13: }
14:
15:
16: glMatrixMode(GL_PROJECTION);
17: glLoadIdentity();
18:
19: return 0;
20: }