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 cd5d9757f9b8ebc4cc1282e7b6db0f66ef23fac5..134afa7cbd89a3f1e553481de8c22956363ff296 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;