diff options
author | Chia-I Wu <[email protected]> | 2010-06-23 17:45:06 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-06-29 17:16:19 +0800 |
commit | f9574c5f890f3205efa4ab4ff509223e2a7c6b74 (patch) | |
tree | 630d25adafc41fbba6ca81f641490d8fa05b5970 /src/gallium/targets/egl-apis/api_GLESv2.c | |
parent | 57c654324f5577d30c5239cd0c2c3eb7ad474143 (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_GLESv2.c')
-rw-r--r-- | src/gallium/targets/egl-apis/api_GLESv2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/targets/egl-apis/api_GLESv2.c b/src/gallium/targets/egl-apis/api_GLESv2.c index 5c773aaf93b..87b3e65e239 100644 --- a/src/gallium/targets/egl-apis/api_GLESv2.c +++ b/src/gallium/targets/egl-apis/api_GLESv2.c @@ -1,8 +1,7 @@ #include "state_tracker/st_gl_api.h" PUBLIC struct st_api * -st_api_create_OpenGL_ES2() +st_api_create_OpenGL_ES2(void) { - /* linker magic creates different versions */ - return st_gl_api_create(); + return st_gl_api_create_es2(); } |