summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl/st_GL.c
blob: 17b7bf9d48100a02b0a20eb8cfb671706e562428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "state_tracker/st_gl_api.h"
#include "state_tracker/st_api.h"

#if FEATURE_GL
PUBLIC struct st_api *
st_api_create_OpenGL(void)
{
   return st_gl_api_create();
}
#endif

#if FEATURE_ES1
PUBLIC struct st_api *
st_api_create_OpenGL_ES1(void)
{
   return st_gl_api_create_es1();
}
#endif

#if FEATURE_ES2
PUBLIC struct st_api *
st_api_create_OpenGL_ES2(void)
{
   return st_gl_api_create_es2();
}
#endif