summaryrefslogtreecommitdiff
path: root/progs/egl
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2009-01-19 02:29:54 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2009-01-19 02:29:54 +0100
commit1fd411539b9b7b8ae46c1aff0a000d9b4a8f5f3b (patch)
tree7c3d5be87d43501eaaa994204e203950a53c048f /progs/egl
parenta835eb930df5b596060a88863933a1bc7d76b6a9 (diff)
egl: eglinfo load i915 driver
Diffstat (limited to 'progs/egl')
-rw-r--r--progs/egl/eglinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/egl/eglinfo.c b/progs/egl/eglinfo.c
index 4486916e95..feae954b75 100644
--- a/progs/egl/eglinfo.c
+++ b/progs/egl/eglinfo.c
@@ -147,7 +147,8 @@ int
main(int argc, char *argv[])
{
int maj, min;
- EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
+ //EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
+ EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
if (!eglInitialize(d, &maj, &min)) {
printf("eglinfo: eglInitialize failed\n");