Changeset 171 for trunk/src/lib/sdl.cc
- Timestamp:
- 07/18/13 00:50:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sdl.cc
r170 r171 13 13 #define NV_SDL_FUN( rtype, fname, fparams ) rtype (NV_SDL_APIENTRY *fname) fparams = nullptr; 14 14 #include <nv/lib/detail/sdl_functions.inc> 15 #if NV_SDL_VERSION == NV_SDL_12 16 # include <nv/lib/detail/sdl_functions_12.inc> 17 #elif NV_SDL_VERSION == NV_SDL_20 18 # include <nv/lib/detail/sdl_functions_20.inc> 19 #endif 15 20 #undef NV_SDL_FUN 21 22 16 23 17 24 bool nv::load_sdl_library( const char* path ) … … 22 29 # define NV_SDL_FUN( rtype, fname, fparams ) *(void **) (&fname) = sdl_library.get(#fname); 23 30 # include <nv/lib/detail/sdl_functions.inc> 31 # if NV_SDL_VERSION == NV_SDL_12 32 # include <nv/lib/detail/sdl_functions_12.inc> 33 # elif NV_SDL_VERSION == NV_SDL_20 34 # include <nv/lib/detail/sdl_functions_20.inc> 35 # endif 24 36 # undef NV_SDL_FUN 25 37 return true;
Note: See TracChangeset
for help on using the changeset viewer.