mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 03:20:40 +02:00
egl: Make demo driver compile
This commit is contained in:
parent
3e867959e9
commit
003afbe5bd
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue