Mercurial > sdl-ios-xcode
comparison src/video/dummy/SDL_nullvideo.c @ 2671:c3e7c0698cbb gsoc2008_nds
some changes to the dummy driver for debug purposes that should be reverted.
most importantly, commenting out a check for an env. var.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Thu, 12 Jun 2008 02:38:49 +0000 |
parents | b252359547ed |
children |
comparison
equal
deleted
inserted
replaced
2670:6e4669f4db49 | 2671:c3e7c0698cbb |
---|---|
61 const char *envr = SDL_getenv("SDL_VIDEODRIVER"); | 61 const char *envr = SDL_getenv("SDL_VIDEODRIVER"); |
62 if ((envr) && (SDL_strcmp(envr, DUMMYVID_DRIVER_NAME) == 0)) { | 62 if ((envr) && (SDL_strcmp(envr, DUMMYVID_DRIVER_NAME) == 0)) { |
63 return (1); | 63 return (1); |
64 } | 64 } |
65 | 65 |
66 return (0); | 66 return (1); |
67 } | 67 } |
68 | 68 |
69 static void | 69 static void |
70 DUMMY_DeleteDevice(SDL_VideoDevice * device) | 70 DUMMY_DeleteDevice(SDL_VideoDevice * device) |
71 { | 71 { |