diff options
author | Jakob Bornecrantz <[email protected]> | 2008-05-28 12:27:27 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2008-05-28 12:27:27 +0200 |
commit | ae3795a968f07fc150d4c34aa1a9cd067f33b914 (patch) | |
tree | 905d021c6a2d56e6c9d88b6bde9f55c92f0da5b7 /src/gallium | |
parent | c2bd95abf60a8b6ea83dce3fc67603b36f937484 (diff) |
i915: Make EGL_i915 compile
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/egl_drm/intel/intel_egl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/egl_drm/intel/intel_egl.c b/src/gallium/winsys/egl_drm/intel/intel_egl.c index 12eeff2b23b..98dbe26376f 100644 --- a/src/gallium/winsys/egl_drm/intel/intel_egl.c +++ b/src/gallium/winsys/egl_drm/intel/intel_egl.c @@ -3,6 +3,7 @@ #include <stdlib.h> #include <string.h> #include <stdio.h> +#include <stdint.h> #include "eglconfig.h" #include "eglcontext.h" @@ -13,7 +14,6 @@ #include "eglscreen.h" #include "eglsurface.h" -#include "glapi.h" #include "intel_egl.h" #include "xf86drm.h" @@ -283,9 +283,9 @@ drm_create_context(_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); err_gl: free(context); err_c: |