aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglcurrent.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-26 16:52:14 +0800
committerChia-I Wu <[email protected]>2010-01-26 18:46:05 +0800
commit6f6f3e4227855c87a78a717bce7374a7d64172ce (patch)
tree9d25514e45b13f86aaf75b8ef7bc448fc909e8a7 /src/egl/main/eglcurrent.h
parentf65ed0a3097d91289ced44d53786506333122b55 (diff)
egl: Add _eglGetAPIContext.
It will return the currently bound context of the given API.
Diffstat (limited to 'src/egl/main/eglcurrent.h')
-rw-r--r--src/egl/main/eglcurrent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/eglcurrent.h b/src/egl/main/eglcurrent.h
index c4478b38914..b8c2bda4855 100644
--- a/src/egl/main/eglcurrent.h
+++ b/src/egl/main/eglcurrent.h
@@ -73,6 +73,10 @@ _eglIsCurrentThreadDummy(void);
PUBLIC _EGLContext *
+_eglGetAPIContext(EGLenum api);
+
+
+PUBLIC _EGLContext *
_eglGetCurrentContext(void);