summaryrefslogtreecommitdiff
path: root/legacy/evas/src/modules/engines/gl_sdl/evas_engine.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/modules/engines/gl_sdl/evas_engine.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.h b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.h
index 92e2786274..36d91b497b 100644
--- a/legacy/evas/src/modules/engines/gl_sdl/evas_engine.h
+++ b/legacy/evas/src/modules/engines/gl_sdl/evas_engine.h
@@ -1,27 +1,22 @@
1#ifndef EVAS_ENGINE_H 1#ifndef EVAS_ENGINE_H
2#define EVAS_ENGINE_H 2#define EVAS_ENGINE_H
3 3
4#define _EVAS_ENGINE_SDL_H
5
4#include "config.h" 6#include "config.h"
7#include <SDL/SDL.h>
5#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) 8#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
6# if defined(GLES_VARIETY_S3C6410) 9# include <EGL/egl.h>
7# include <EGL/egl.h> 10# include <SDL/SDL_opengles.h>
8# include <GLES2/gl2.h>
9# elif defined(GLES_VARIETY_SGX)
10# include <EGL/egl.h>
11# include <GLES2/gl2.h>
12# include <GLES2/gl2ext.h>
13# endif
14# ifdef HAVE_SDL_FLAG_OPENGLES 11# ifdef HAVE_SDL_FLAG_OPENGLES
15# define EVAS_SDL_GL_FLAG SDL_OPENGLES 12# define EVAS_SDL_GL_FLAG SDL_OPENGLES
16# else 13# else
17# define EVAS_SDL_GL_FLAG SDL_OPENGL /* This probably won't work? */ 14# define EVAS_SDL_GL_FLAG SDL_OPENGL /* This probably won't work? */
18# endif 15# endif
19#else 16#else
17# include <SDL/SDL_opengl.h>
20# define EVAS_SDL_GL_FLAG SDL_OPENGL 18# define EVAS_SDL_GL_FLAG SDL_OPENGL
21#endif 19#endif
22#include <SDL/SDL.h>
23#include <SDL/SDL_opengl.h>
24#include <GL/gl.h>
25#include "evas_common.h" 20#include "evas_common.h"
26#include "evas_private.h" 21#include "evas_private.h"
27#include "evas_gl_common.h" 22#include "evas_gl_common.h"