Fixed building for Android
authorSam Lantinga <slouken@libsdl.org>
Thu, 03 Feb 2011 01:30:28 -0800
changeset 5161 1bd1e62e648d
parent 5160 53eaa01ab100
child 5162 e2b3f003e085
Fixed building for Android
Android.mk
src/render/opengles/SDL_renderer_gles.c
--- 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;