summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.(none)>2008-07-05 16:46:04 +0200
committerJakob Bornecrantz <jakob@aurora.(none)>2008-07-05 16:53:29 +0200
commitb30fb6d54019c84174379a773121438ba943557a (patch)
treed0cfa842ab66779cec13cc0b7afc15931d2bdf89 /src/gallium
parentc6d6a57424b77ff7de611333046c054d1948ae7a (diff)
i915: Fix EGL version and name
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/egl_drm/intel/intel_egl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/egl_drm/intel/intel_egl.c b/src/gallium/winsys/egl_drm/intel/intel_egl.c
index a008d952bfb..e078b9eda10 100644
--- a/src/gallium/winsys/egl_drm/intel/intel_egl.c
+++ b/src/gallium/winsys/egl_drm/intel/intel_egl.c
@@ -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;