From 04a47bd8aafdbb560f152ce34e559f62b33e9487 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Tue, 26 Jun 2012 11:38:01 -0600 Subject: [PATCH] also try /dev/graphics/fb0 --- libdevice/egl/test_egl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libdevice/egl/test_egl.cpp b/libdevice/egl/test_egl.cpp index b17c9d6b2..d399c85e5 100644 --- a/libdevice/egl/test_egl.cpp +++ b/libdevice/egl/test_egl.cpp @@ -154,6 +154,9 @@ test_egl(EGLDevice &egl, GnashDevice::rtype_t rtype, int argc, char *argv[]) #else # ifdef BUILD_RAWFB_DEVICE win = open("/dev/fb0", O_RDWR); + if (win <= 0) { + win = open("/dev/graphicsfb0", O_RDWR); + } # endif # ifdef BUILD_X11_DEVICE x11::X11Device x11(egl.getNativeVisual()); -- 2.11.4.GIT