comparison src/render/software/SDL_drawline.c @ 5231:710d00cb3a6a

Made it possible to disable the rendering subsystem with configure --disable-render
author Sam Lantinga <slouken@libsdl.org>
date Tue, 08 Feb 2011 10:04:09 -0800
parents 4d39eeaad00b
children b530ef003506
comparison
equal deleted inserted replaced
5230:5d01d426f2ea 5231:710d00cb3a6a
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23
24 #if !SDL_RENDER_DISABLED
23 25
24 #include "SDL_draw.h" 26 #include "SDL_draw.h"
25 #include "SDL_drawline.h" 27 #include "SDL_drawline.h"
26 #include "SDL_drawpoint.h" 28 #include "SDL_drawpoint.h"
27 29
206 SDL_DrawPoint(dst, points[count-1].x, points[count-1].y, color); 208 SDL_DrawPoint(dst, points[count-1].x, points[count-1].y, color);
207 } 209 }
208 return 0; 210 return 0;
209 } 211 }
210 212
213 #endif /* !SDL_RENDER_DISABLED */
214
211 /* vi: set ts=4 sw=4 expandtab: */ 215 /* vi: set ts=4 sw=4 expandtab: */