comparison src/video/x11/SDL_x11dyn.c @ 1245:fe7d081a4955

Patched to compile with debugging enabled.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 13 Jan 2006 01:30:21 +0000
parents ed252764287a
children 19418e4422cb
comparison
equal deleted inserted replaced
1244:a388f2b59044 1245:fe7d081a4955
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!%s\n", fnname 59 printf("X11: Symbol '%s' NOT FOUND!%s\n", fnname,
60 required ? "" : " (...but not required!)"); 60 required ? "" : " (...but not required!)");
61 #endif 61 #endif
62 } 62 }
63 *rc = ((fn != NULL) || (!required)); 63 *rc = ((fn != NULL) || (!required));
64 } 64 }