diff src/render/SDL_sysrender.h @ 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 2178ffe17222
children b530ef003506
line wrap: on
line diff
--- a/src/render/SDL_sysrender.h	Mon Feb 07 22:57:33 2011 -0800
+++ b/src/render/SDL_sysrender.h	Tue Feb 08 10:04:09 2011 -0800
@@ -119,6 +119,8 @@
     SDL_RendererInfo info;
 };
 
+#if !SDL_RENDER_DISABLED
+
 #if SDL_VIDEO_RENDER_D3D
 extern SDL_RenderDriver D3D_RenderDriver;
 #endif
@@ -136,6 +138,8 @@
 #endif
 extern SDL_RenderDriver SW_RenderDriver;
 
+#endif /* !SDL_RENDER_DISABLED */
+
 #endif /* _SDL_sysrender_h */
 
 /* vi: set ts=4 sw=4 expandtab: */