OSDN Git Service

fix typo: s/Contexts/Surfaces/
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 27 May 2008 20:17:40 +0000 (14:17 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 27 May 2008 20:17:40 +0000 (14:17 -0600)
src/egl/main/eglsurface.c

index cd5d975..134afa7 100644 (file)
@@ -207,7 +207,7 @@ _eglInitSurface(_EGLDriver *drv, EGLDisplay dpy,
 void
 _eglSaveSurface(_EGLSurface *surf)
 {
-   EGLuint key = _eglHashGenKey(_eglGlobal.Contexts);
+   EGLuint key = _eglHashGenKey(_eglGlobal.Surfaces);
    assert(surf);
    assert(!surf->Handle);
    surf->Handle = (EGLSurface) key;