summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-apis/api_GLESv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-apis/api_GLESv2.c')
-rw-r--r--src/gallium/targets/egl-apis/api_GLESv2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-apis/api_GLESv2.c b/src/gallium/targets/egl-apis/api_GLESv2.c
new file mode 100644
index 00000000000..5c773aaf93b
--- /dev/null
+++ b/src/gallium/targets/egl-apis/api_GLESv2.c
@@ -0,0 +1,8 @@
+#include "state_tracker/st_gl_api.h"
+
+PUBLIC struct st_api *
+st_api_create_OpenGL_ES2()
+{
+ /* linker magic creates different versions */
+ return st_gl_api_create();
+}