summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-apis/api_GLESv1_CM.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-06-23 17:45:06 +0800
committerChia-I Wu <olv@lunarg.com>2010-06-29 17:16:19 +0800
commitf9574c5f890f3205efa4ab4ff509223e2a7c6b74 (patch)
tree630d25adafc41fbba6ca81f641490d8fa05b5970 /src/gallium/targets/egl-apis/api_GLESv1_CM.c
parent57c654324f5577d30c5239cd0c2c3eb7ad474143 (diff)
st/egl: Make api_OpenGL support OpenGL ES.
This allows api_OpenGL.so to support OpenGL ES.
Diffstat (limited to 'src/gallium/targets/egl-apis/api_GLESv1_CM.c')
-rw-r--r--src/gallium/targets/egl-apis/api_GLESv1_CM.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/egl-apis/api_GLESv1_CM.c b/src/gallium/targets/egl-apis/api_GLESv1_CM.c
index 825fdac215..0c8de8992f 100644
--- a/src/gallium/targets/egl-apis/api_GLESv1_CM.c
+++ b/src/gallium/targets/egl-apis/api_GLESv1_CM.c
@@ -1,7 +1,7 @@
#include "state_tracker/st_gl_api.h"
PUBLIC struct st_api *
-st_api_create_OpenGL_ES1()
+st_api_create_OpenGL_ES1(void)
{
- return st_gl_api_create();
+ return st_gl_api_create_es1();
}