targets/egl: fix build
[mesa.git] / src / gallium / targets / egl / st_GL.c
1 #include "state_tracker/st_gl_api.h"
2 #include "state_tracker/st_api.h"
3
4 #if FEATURE_GL
5 PUBLIC struct st_api *
6 st_api_create_OpenGL(void)
7 {
8 return st_gl_api_create();
9 }
10 #endif
11
12 #if FEATURE_ES1
13 PUBLIC struct st_api *
14 st_api_create_OpenGL_ES1(void)
15 {
16 return st_gl_api_create_es1();
17 }
18 #endif
19
20 #if FEATURE_ES2
21 PUBLIC struct st_api *
22 st_api_create_OpenGL_ES2(void)
23 {
24 return st_gl_api_create_es2();
25 }
26 #endif