Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Only compile the NDS renderer if specified in the config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 7, 2011
1 parent b07239f commit e285a76
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/render/nds/SDL_ndsrender.c
Expand Up @@ -19,15 +19,16 @@
Sam Lantinga
slouken@libsdl.org
*/
#include "SDL_config.h"

#if SDL_VIDEO_RENDER_NDS

#include <stdio.h>
#include <stdlib.h>
#include <nds.h>

#include <gl2d.h>

#include "SDL_config.h"

#include "SDL_video.h"
#include "../../video/SDL_sysvideo.h"
#include "SDL_render.h"
Expand Down Expand Up @@ -361,4 +362,6 @@ SDL_RenderDriver NDS_RenderDriver = {
}
};

#endif /* SDL_VIDEO_RENDER_NDS */

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit e285a76

Please sign in to comment.