From: Jakob Bornecrantz Date: Wed, 28 May 2008 09:32:18 +0000 (+0200) Subject: egl: Make demo driver compile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=003afbe5bdb3d3c45e0f4f06d0b4239237df934c;p=mesa.git egl: Make demo driver compile --- diff --git a/src/egl/drivers/demo/demo.c b/src/egl/drivers/demo/demo.c index 0a13de6d875..1033f1b4ed6 100644 --- a/src/egl/drivers/demo/demo.c +++ b/src/egl/drivers/demo/demo.c @@ -152,9 +152,9 @@ demoCreateContext(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, EGLContext /* generate handle and insert into hash table */ _eglSaveContext(&c->Base); - assert(c->Base.Handle); + assert(_eglGetContextHandle(&c->Base)); - return c->Base.Handle; + return _eglGetContextHandle(&c->Base); }