comparison src/render/software/SDL_render_sw.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 2178ffe17222
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_sysrender.h" 26 #include "../SDL_sysrender.h"
25 #include "../../video/SDL_pixels_c.h" 27 #include "../../video/SDL_pixels_c.h"
26 28
27 #include "SDL_draw.h" 29 #include "SDL_draw.h"
426 SDL_free(data); 428 SDL_free(data);
427 } 429 }
428 SDL_free(renderer); 430 SDL_free(renderer);
429 } 431 }
430 432
433 #endif /* !SDL_RENDER_DISABLED */
434
431 /* vi: set ts=4 sw=4 expandtab: */ 435 /* vi: set ts=4 sw=4 expandtab: */