Revision: 44806
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44806&view=rev
Author:   erikgreenwald
Date:     2011-06-07 20:43:55 +0000 (Tue, 07 Jun 2011)

Log Message:
-----------
remove the HAVE_DLOPEN stuff, since that's handle in bu now

Modified Paths:
--------------
    brlcad/trunk/src/liboptical/material.c

Modified: brlcad/trunk/src/liboptical/material.c
===================================================================
--- brlcad/trunk/src/liboptical/material.c      2011-06-07 20:40:33 UTC (rev 
44805)
+++ brlcad/trunk/src/liboptical/material.c      2011-06-07 20:43:55 UTC (rev 
44806)
@@ -30,7 +30,6 @@
 #include <string.h>
 #ifdef HAVE_SYS_PARAM_H
 #  include <sys/param.h>
-#  include <dlfcn.h>
 #endif
 #include "bio.h"
 
@@ -63,7 +62,6 @@
 }
 
 
-#ifdef HAVE_DLOPEN
 /**
  * T R Y _ L O A D
  *
@@ -191,7 +189,6 @@
 
     return shader_mfuncs;
 }
-#endif
 
 
 /**
@@ -207,9 +204,7 @@
           register struct region *rp,
           struct rt_i *rtip)
 {
-#ifdef HAVE_DLOPEN
     struct mfuncs *mfp_new = NULL;
-#endif
 
     const struct mfuncs *mfp;
     int ret;
@@ -247,7 +242,6 @@
        goto found;
     }
 
-#ifdef HAVE_DLOPEN
     /* If we get here, then the shader wasn't found in the list of
      * compiled-in (or previously loaded) shaders.  See if we can
      * dynamically load it.
@@ -260,9 +254,6 @@
        bu_log("retrying\n");
        goto retry;
     }
-#else
-    bu_log("****** dynamic shader loading not available ******\n");
-#endif
 
 
     /* If we get here, then the shader was not found at all (either in


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to