From 6f6f3e4227855c87a78a717bce7374a7d64172ce Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 26 Jan 2010 16:52:14 +0800 Subject: egl: Add _eglGetAPIContext. It will return the currently bound context of the given API. --- src/egl/main/eglcurrent.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/egl/main/eglcurrent.h') diff --git a/src/egl/main/eglcurrent.h b/src/egl/main/eglcurrent.h index c4478b3891..b8c2bda485 100644 --- a/src/egl/main/eglcurrent.h +++ b/src/egl/main/eglcurrent.h @@ -72,6 +72,10 @@ extern EGLBoolean _eglIsCurrentThreadDummy(void); +PUBLIC _EGLContext * +_eglGetAPIContext(EGLenum api); + + PUBLIC _EGLContext * _eglGetCurrentContext(void); -- cgit v1.2.3