Build in Maemo/scratchbox
[neverball] / share / config.h
index b975d12..a53a1c2 100644 (file)
 #include "base_config.h"
 #include "lang.h"
 
+#ifdef __MAEMO__
+#include <SDL_gles.h>
+#define SDL_GL_SetAttribute(attr, value)  SDL_GLES_SetAttribute(attr, value)
+#define SDL_GL_GetAttribute(attr, value)  SDL_GLES_GetAttribute(attr, value)
+#define SDL_GL_SwapBuffers()              SDL_GLES_SwapBuffers()
+#endif
+
 /*---------------------------------------------------------------------------*/
 
 /* Integer options. */