summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/fb
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2005-05-15 04:00:59 +0000
committerJon Smirl <[email protected]>2005-05-15 04:00:59 +0000
commit45472672a2764e2ceaf499f586d7c337ddba731c (patch)
tree49ba49a0fa357c260b90515c6c1b884732c1e2b9 /src/mesa/drivers/dri/fb
parentaca2e0da3cd1e394673913b2a02ab85396a368a2 (diff)
A few egl patches needed for glitz, mainly config BITS
Diffstat (limited to 'src/mesa/drivers/dri/fb')
-rw-r--r--src/mesa/drivers/dri/fb/fb_egl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_egl.c b/src/mesa/drivers/dri/fb/fb_egl.c
index 24a7442eb98..0d91970453c 100644
--- a/src/mesa/drivers/dri/fb/fb_egl.c
+++ b/src/mesa/drivers/dri/fb/fb_egl.c
@@ -254,8 +254,10 @@ fbInitialize(_EGLDriver *drv, EGLDisplay dpy, EGLint *major, EGLint *minor)
*minor = 0;
dir = opendir(sysfs);
- if (!dir)
+ if (!dir) {
+ printf("EGL - %s framebuffer device not found.", sysfs);
return EGL_FALSE;
+ }
while (dirent = readdir(dir)) {