summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-08-10 16:37:28 +0800
committerBrian Paul <[email protected]>2009-08-11 22:14:35 -0600
commit0e3687e33dd482115c1a0e39c50b424936cb05a6 (patch)
tree46414ccec9fd77e32b9158b4cf90b6884c6eeb1d /src/egl/main/eglapi.c
parent413969a92052c019bcf3c5bf48cf564613eba598 (diff)
egl: Make _eglGlobal initialize statically.
Now that display and surface hash tables are moved out, _eglGlobal can be initialized statically. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl/main/eglapi.c')
-rw-r--r--src/egl/main/eglapi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index f0a6f7f9355..fde6b7316c8 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -50,7 +50,6 @@ EGLDisplay EGLAPIENTRY
eglGetDisplay(NativeDisplayType nativeDisplay)
{
_EGLDisplay *dpy;
- _eglInitGlobals();
dpy = _eglFindDisplay(nativeDisplay);
if (!dpy) {
dpy = _eglNewDisplay(nativeDisplay);