changeset 5164:1bd1e62e648d

Fixed building for Android
author Sam Lantinga <slouken@libsdl.org>
date Thu, 03 Feb 2011 01:30:28 -0800
parents 53eaa01ab100
children e2b3f003e085
files Android.mk src/render/opengles/SDL_renderer_gles.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Android.mk	Thu Feb 03 01:19:10 2011 -0800
+++ b/Android.mk	Thu Feb 03 01:30:28 2011 -0800
@@ -30,6 +30,9 @@
 	$(wildcard $(LOCAL_PATH)/src/joystick/android/*.c) \
 	$(wildcard $(LOCAL_PATH)/src/loadso/dlopen/*.c) \
 	$(wildcard $(LOCAL_PATH)/src/power/*.c) \
+	$(wildcard $(LOCAL_PATH)/src/render/*.c) \
+	$(wildcard $(LOCAL_PATH)/src/render/opengles/*.c) \
+	$(wildcard $(LOCAL_PATH)/src/render/software/*.c) \
 	$(wildcard $(LOCAL_PATH)/src/stdlib/*.c) \
 	$(wildcard $(LOCAL_PATH)/src/thread/*.c) \
 	$(wildcard $(LOCAL_PATH)/src/thread/pthread/*.c) \
--- a/src/render/opengles/SDL_renderer_gles.c	Thu Feb 03 01:19:10 2011 -0800
+++ b/src/render/opengles/SDL_renderer_gles.c	Thu Feb 03 01:30:28 2011 -0800
@@ -97,7 +97,7 @@
 
     /* OpenGL ES functions */
 #define SDL_PROC(ret,func,params) ret (APIENTRY *func) params;
-#include "SDL_glesfuncs.h"
+#include "../../video/SDL_glesfuncs.h"
 #undef SDL_PROC
 
 } GLES_RenderData;
@@ -154,7 +154,7 @@
 
 #define SDL_PROC(ret,func,params) \
     data->func = func;
-#include "SDL_glesfuncs.h"
+#include "../../video/SDL_glesfuncs.h"
 #undef SDL_PROC
 
     return 0;