diff 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
line wrap: on
line diff
--- a/src/render/software/SDL_drawline.c	Mon Feb 07 22:57:33 2011 -0800
+++ b/src/render/software/SDL_drawline.c	Tue Feb 08 10:04:09 2011 -0800
@@ -21,6 +21,8 @@
 */
 #include "SDL_config.h"
 
+#if !SDL_RENDER_DISABLED
+
 #include "SDL_draw.h"
 #include "SDL_drawline.h"
 #include "SDL_drawpoint.h"
@@ -208,4 +210,6 @@
     return 0;
 }
 
+#endif /* !SDL_RENDER_DISABLED */
+
 /* vi: set ts=4 sw=4 expandtab: */