comparison src/video/x11/SDL_x11dyn.c @ 1236:ed252764287a

Minor bit of debug output added to dynamic X11 code.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Jan 2006 20:57:59 +0000
parents f60f6f4ffc6f
children fe7d081a4955
comparison
equal deleted inserted replaced
1235:f60f6f4ffc6f 1236:ed252764287a
54 fn = SDL_LoadFunction(x11ext_handle, fnname); 54 fn = SDL_LoadFunction(x11ext_handle, fnname);
55 #if DEBUG_DYNAMIC_X11 55 #if DEBUG_DYNAMIC_X11
56 if (fn != NULL) 56 if (fn != NULL)
57 printf("X11: Found '%s' in libXext (%p)\n", fnname, fn); 57 printf("X11: Found '%s' in libXext (%p)\n", fnname, fn);
58 else 58 else
59 printf("X11: Symbol '%s' NOT FOUND!\n", fnname); 59 printf("X11: Symbol '%s' NOT FOUND!%s\n", fnname
60 required ? "" : " (...but not required!)");
60 #endif 61 #endif
61 } 62 }
62 *rc = ((fn != NULL) || (!required)); 63 *rc = ((fn != NULL) || (!required));
63 } 64 }
64 65