Fixed building for Android
authorSam Lantinga <slouken@libsdl.org>
Thu, 03 Feb 2011 01:30:28 -0800
changeset 51611bd1e62e648d
parent 5160 53eaa01ab100
child 5162 e2b3f003e085
Fixed building for Android
Android.mk
src/render/opengles/SDL_renderer_gles.c
     1.1 --- a/Android.mk	Thu Feb 03 01:19:10 2011 -0800
     1.2 +++ b/Android.mk	Thu Feb 03 01:30:28 2011 -0800
     1.3 @@ -30,6 +30,9 @@
     1.4  	$(wildcard $(LOCAL_PATH)/src/joystick/android/*.c) \
     1.5  	$(wildcard $(LOCAL_PATH)/src/loadso/dlopen/*.c) \
     1.6  	$(wildcard $(LOCAL_PATH)/src/power/*.c) \
     1.7 +	$(wildcard $(LOCAL_PATH)/src/render/*.c) \
     1.8 +	$(wildcard $(LOCAL_PATH)/src/render/opengles/*.c) \
     1.9 +	$(wildcard $(LOCAL_PATH)/src/render/software/*.c) \
    1.10  	$(wildcard $(LOCAL_PATH)/src/stdlib/*.c) \
    1.11  	$(wildcard $(LOCAL_PATH)/src/thread/*.c) \
    1.12  	$(wildcard $(LOCAL_PATH)/src/thread/pthread/*.c) \
     2.1 --- a/src/render/opengles/SDL_renderer_gles.c	Thu Feb 03 01:19:10 2011 -0800
     2.2 +++ b/src/render/opengles/SDL_renderer_gles.c	Thu Feb 03 01:30:28 2011 -0800
     2.3 @@ -97,7 +97,7 @@
     2.4  
     2.5      /* OpenGL ES functions */
     2.6  #define SDL_PROC(ret,func,params) ret (APIENTRY *func) params;
     2.7 -#include "SDL_glesfuncs.h"
     2.8 +#include "../../video/SDL_glesfuncs.h"
     2.9  #undef SDL_PROC
    2.10  
    2.11  } GLES_RenderData;
    2.12 @@ -154,7 +154,7 @@
    2.13  
    2.14  #define SDL_PROC(ret,func,params) \
    2.15      data->func = func;
    2.16 -#include "SDL_glesfuncs.h"
    2.17 +#include "../../video/SDL_glesfuncs.h"
    2.18  #undef SDL_PROC
    2.19  
    2.20      return 0;