Revision: 41850
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41850&view=rev
Author:   starseeker
Date:     2010-12-30 15:20:42 +0000 (Thu, 30 Dec 2010)

Log Message:
-----------
interp -> INTERP

Modified Paths:
--------------
    brlcad/trunk/src/mged/dm-ogl.c

Modified: brlcad/trunk/src/mged/dm-ogl.c
===================================================================
--- brlcad/trunk/src/mged/dm-ogl.c      2010-12-30 08:03:58 UTC (rev 41849)
+++ brlcad/trunk/src/mged/dm-ogl.c      2010-12-30 15:20:42 UTC (rev 41850)
@@ -104,7 +104,7 @@
 
     Tk_DeleteGenericHandler(doEvent, (ClientData)NULL);
 
-    if ((dmp = dm_open(interp, DM_TYPE_OGL, argc-1, argv)) == DM_NULL)
+    if ((dmp = dm_open(INTERP, DM_TYPE_OGL, argc-1, argv)) == DM_NULL)
        return TCL_ERROR;
 
     /*XXXX this eventually needs to move into Ogl's private structure */
@@ -117,7 +117,7 @@
 
     bu_vls_init(&vls);
     bu_vls_printf(&vls, "mged_bind_dm %s", bu_vls_addr(&pathName));
-    Tcl_Eval(interp, bu_vls_addr(&vls));
+    Tcl_Eval(INTERP, bu_vls_addr(&vls));
     bu_vls_free(&vls);
 
     return TCL_OK;
@@ -130,7 +130,7 @@
     char *ogl_name = "/dev/ogl";
 
     if ((fbp = (FBIO *)calloc(sizeof(FBIO), 1)) == FBIO_NULL) {
-       Tcl_AppendResult(interp, "Ogl_fb_open: failed to allocate framebuffer 
memory\n",
+       Tcl_AppendResult(INTERP, "Ogl_fb_open: failed to allocate framebuffer 
memory\n",
                         (char *)NULL);
        return;
     }
@@ -219,7 +219,7 @@
            bu_vls_free(&tmp_vls);
        }
 
-       Tcl_AppendResult(interp, bu_vls_addr(&vls), (char *)NULL);
+       Tcl_AppendResult(INTERP, bu_vls_addr(&vls), (char *)NULL);
        bu_vls_free(&vls);
 
        return TCL_OK;


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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to