Revision: 54039
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54039&view=rev
Author:   brlcad
Date:     2012-12-11 16:03:12 +0000 (Tue, 11 Dec 2012)
Log Message:
-----------
remove debug code

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

Modified: brlcad/trunk/src/libdm/dm-ogl.c
===================================================================
--- brlcad/trunk/src/libdm/dm-ogl.c     2012-12-11 15:38:41 UTC (rev 54038)
+++ brlcad/trunk/src/libdm/dm-ogl.c     2012-12-11 16:03:12 UTC (rev 54039)
@@ -90,7 +90,6 @@
 #define YSTEREO                491     /* subfield height, in scanlines */
 #define YOFFSET_LEFT   532     /* YSTEREO + YBLANK ? */
 
-static int ogl_actively_drawing = 0;
 HIDDEN XVisualInfo *ogl_choose_visual(struct dm *dmp, Tk_Window tkwin);
 
 /* Display Manager package interface */
@@ -1213,12 +1212,6 @@
     if (dmp->dm_debugLevel) {
        bu_log("ogl_drawBegin\n");
 
-       if (ogl_actively_drawing)
-           bu_log("ogl_drawBegin: already actively drawing\n");
-    }
-
-    ogl_actively_drawing = 1;
-
     if (!glXMakeCurrent(((struct dm_xvars *)dmp->dm_vars.pub_vars)->dpy,
                        ((struct dm_xvars *)dmp->dm_vars.pub_vars)->win,
                        ((struct ogl_vars *)dmp->dm_vars.priv_vars)->glxc)) {
@@ -1310,7 +1303,6 @@
     glFinish();
 #endif
 
-    ogl_actively_drawing = 0;
     return TCL_OK;
 }
 

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


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to