mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 10:44:39 -05:00
Only compile the NDS renderer if specified in the config file.
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
Sam Lantinga
|
||||
slouken@libsdl.org
|
||||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_RENDER_NDS
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -26,8 +29,6 @@
|
||||
|
||||
#include <gl2d.h>
|
||||
|
||||
#include "SDL_config.h"
|
||||
|
||||
#include "SDL_video.h"
|
||||
#include "../../video/SDL_sysvideo.h"
|
||||
#include "SDL_render.h"
|
||||
@@ -361,4 +362,6 @@ SDL_RenderDriver NDS_RenderDriver = {
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* SDL_VIDEO_RENDER_NDS */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user