changeset 5562:52c8add4d3ba

RT-33886 : IMX6 - FX doesn't run on imx6 post recent "platform layer" changes Reviewed-by: Daniel Blaukopf
author Rafi Tayar <rafi.tayar@oracle.com>
date Tue, 29 Oct 2013 15:09:00 +0200
parents 89e41f057bd9
children 59edf97df704
files modules/graphics/src/main/native-glass/lens/lensport/wrapped_functions.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-glass/lens/lensport/wrapped_functions.c	Tue Oct 29 17:17:42 2013 +0400
+++ b/modules/graphics/src/main/native-glass/lens/lensport/wrapped_functions.c	Tue Oct 29 15:09:00 2013 +0200
@@ -132,7 +132,7 @@
 
     void *lib = dlopen("libbcm_host.so", RTLD_LAZY);
     if (!lib) {
-        return 0;
+        return 1;
     }
 
     int error = 0;
@@ -215,7 +215,7 @@
 
     int error = 0;
 
-    if (load_bcm_symbols()) {
+    if (load_bcm_symbols() == 0) {
         // useDispman
     } else if (dlopen("libVIVANTE.so", RTLD_LAZY)) {
         useVivanteFB = 1;