summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-28 11:32:18 +0200
committerJakob Bornecrantz <jakob@heavy.lan>2008-05-28 10:55:26 +0100
commit003afbe5bdb3d3c45e0f4f06d0b4239237df934c (patch)
tree4565e7a056548177040e2d2524f0ba8bb36c9d8a /src/egl
parent3e867959e92dea55f963841b2dc03d323e2f8188 (diff)
egl: Make demo driver compile
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/demo/demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/demo/demo.c b/src/egl/drivers/demo/demo.c
index 0a13de6d87..1033f1b4ed 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);
}