forked from enlightenment/efl
parent
d3bfe37afa
commit
0ffcae731c
|
@ -526,14 +526,14 @@ AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, [test "x$have_evas_engine_gl_common" = "x
|
|||
# gl_sdl
|
||||
if test "x$have_evas_engine_gl_sdl" = "xyes"; then
|
||||
AC_CHECK_DECL(SDL_GL_CONTEXT_MAJOR_VERSION,
|
||||
[AC_DEFINE(HAVE_SDL_GL_CONTEXT_VERSION, [1], [SDL_GL version attributes present])],,
|
||||
[#include <SDL/SDL_video.h>])
|
||||
[AC_DEFINE(HAVE_SDL_GL_CONTEXT_VERSION, [1], [SDL_GL version attributes present])],,
|
||||
[#include <SDL/SDL_video.h>])
|
||||
fi
|
||||
|
||||
if test "x$gl_flavor_gles" = "xyes"; then
|
||||
AC_CHECK_DECL(SDL_OPENGLES,
|
||||
[AC_DEFINE(HAVE_SDL_FLAG_OPENGLES, [1], [SDL_OPENGLES flag is present])],,
|
||||
[#include <SDL/SDL_video.h>])
|
||||
[AC_DEFINE(HAVE_SDL_FLAG_OPENGLES, [1], [SDL_OPENGLES flag is present])],,
|
||||
[#include <SDL/SDL_video.h>])
|
||||
fi
|
||||
|
||||
# SDL primitive
|
||||
|
|
Loading…
Reference in New Issue