src/render/direct3d/SDL_render_d3d.c
changeset 5226 710d00cb3a6a
parent 5224 2178ffe17222
child 5262 b530ef003506
     1.1 --- a/src/render/direct3d/SDL_render_d3d.c	Mon Feb 07 22:57:33 2011 -0800
     1.2 +++ b/src/render/direct3d/SDL_render_d3d.c	Tue Feb 08 10:04:09 2011 -0800
     1.3 @@ -21,7 +21,8 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  
     1.7 -#if SDL_VIDEO_RENDER_D3D
     1.8 +#if SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED
     1.9 +
    1.10  
    1.11  #include "../../core/windows/SDL_windows.h"
    1.12  
    1.13 @@ -1066,6 +1067,6 @@
    1.14      SDL_free(renderer);
    1.15  }
    1.16  
    1.17 -#endif /* SDL_VIDEO_RENDER_D3D */
    1.18 +#endif /* SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED */
    1.19  
    1.20  /* vi: set ts=4 sw=4 expandtab: */