summaryrefslogtreecommitdiffstats
path: root/progs/egl/eglinfo.c
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2005-05-13 18:31:35 +0000
committerJon Smirl <[email protected]>2005-05-13 18:31:35 +0000
commit7012d01d888d482f2c6ad1180231a482026d213a (patch)
tree426deb1a0de72921bf19851243443ab570d896f6 /progs/egl/eglinfo.c
parenta6ed129dfc4ccfd898d347543f745f0b7745e31d (diff)
First attempt at getting egl support up on dumb framebuffer.
Seems to be mostly working. Not all of egl API is implemented.
Diffstat (limited to 'progs/egl/eglinfo.c')
-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 a80df6cd9f4..e907d136989 100644
--- a/progs/egl/eglinfo.c
+++ b/progs/egl/eglinfo.c
@@ -132,7 +132,8 @@ int
main(int argc, char *argv[])
{
int maj, min;
- EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
+// EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
+ EGLDisplay d = eglGetDisplay("!fb_dri");
if (!eglInitialize(d, &maj, &min)) {
printf("eglinfo: eglInitialize failed\n");