Changeset 326 for trunk/src/lib/sdl.cc
- Timestamp:
- 08/26/14 18:39:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sdl.cc
r319 r326 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_1216 # include <nv/lib/detail/sdl_functions_12.inc>17 #elif NV_SDL_VERSION == NV_SDL_2018 # include <nv/lib/detail/sdl_functions_20.inc>19 #endif20 15 #undef NV_SDL_FUN 21 22 23 16 24 17 bool nv::load_sdl_library( const char* path ) … … 29 22 # define NV_SDL_FUN( rtype, fname, fparams ) *(void **) (&fname) = sdl_library.get(#fname); 30 23 # include <nv/lib/detail/sdl_functions.inc> 31 # if NV_SDL_VERSION == NV_SDL_1232 # include <nv/lib/detail/sdl_functions_12.inc>33 # elif NV_SDL_VERSION == NV_SDL_2034 # include <nv/lib/detail/sdl_functions_20.inc>35 # endif36 24 # undef NV_SDL_FUN 37 25 return true;
Note: See TracChangeset
for help on using the changeset viewer.