i915: Fix EGL version and name
authorJakob Bornecrantz <jakob@aurora.(none)>
Sat, 5 Jul 2008 14:46:04 +0000 (16:46 +0200)
committerJakob Bornecrantz <jakob@aurora.(none)>
Sat, 5 Jul 2008 14:53:29 +0000 (16:53 +0200)
src/gallium/winsys/egl_drm/intel/intel_egl.c

index a008d952bfb936b062b7b513017e50ba3d80001e..e078b9eda101b2e1845be005cc544f2ec389dcf8 100644 (file)
@@ -171,7 +171,7 @@ drm_initialize(_EGLDriver *drv, EGLDisplay dpy, EGLint *major, EGLint *minor)
        drv->Initialized = EGL_TRUE;
 
        *major = 1;
-       *minor = 0;
+       *minor = 4;
 
        return EGL_TRUE;
 }
@@ -610,6 +610,7 @@ _eglMain(_EGLDisplay *dpy, const char *args)
        drm->base.API.SwapBuffers = drm_swap_buffers;
 
        drm->base.ClientAPIsMask = EGL_OPENGL_BIT /*| EGL_OPENGL_ES_BIT*/;
+       drm->base.Name = "DRM/Gallium";
 
        /* enable supported extensions */
        drm->base.Extensions.MESA_screen_surface = EGL_TRUE;