Message ID | 20110721123635.17019.59665.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/oglsdl.h' --- src/oglsdl.h 2011-01-25 15:06:04 +0000 +++ src/oglsdl.h 2011-03-08 23:12:05 +0000 @@ -26,9 +26,13 @@ #include <SDL/SDL.h> +#if USE_GL #define GL_GLEXT_PROTOTYPES #include <GL/gl.h> #include <GL/glext.h> - +#elif USE_GLESv2 +#include <GLES2/gl2.h> +#include <GLES2/gl2ext.h> +#endif #endif