Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed building for Android

  • Loading branch information
slouken committed Feb 3, 2011
1 parent 7413650 commit 62b2d38b99208cdda8c2f4cb42be1e92f2a36720
Showing with 5 additions and 2 deletions.
  1. +3 −0 Android.mk
  2. +2 −2 src/render/opengles/SDL_renderer_gles.c
@@ -30,6 +30,9 @@ LOCAL_SRC_FILES := \
$(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) \
@@ -97,7 +97,7 @@ typedef struct

/* 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 @@ GLES_LoadFunctions(GLES_RenderData * data)

#define SDL_PROC(ret,func,params) \
data->func = func;
#include "SDL_glesfuncs.h"
#include "../../video/SDL_glesfuncs.h"
#undef SDL_PROC

return 0;

0 comments on commit 62b2d38

Please sign in to comment.