Made it possible to disable the rendering subsystem with configure --disable-render
This commit is contained in:
parent
8f205278b1
commit
7133afac5f
15 changed files with 53 additions and 10 deletions
|
@ -21,7 +21,8 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_RENDER_D3D
|
||||
#if SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED
|
||||
|
||||
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
|
||||
|
@ -1066,6 +1067,6 @@ D3D_DestroyRenderer(SDL_Renderer * renderer)
|
|||
SDL_free(renderer);
|
||||
}
|
||||
|
||||
#endif /* SDL_VIDEO_RENDER_D3D */
|
||||
#endif /* SDL_VIDEO_RENDER_D3D && !SDL_RENDER_DISABLED */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue