From ecc1259bc8294cf7a3a8f521be97bd0b9703411f Mon Sep 17 00:00:00 2001 From: pgovyadi Date: Mon, 12 Dec 2016 13:36:12 -0600 Subject: [PATCH] Changes since last update --- stim/gl/gl_spider.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stim/gl/gl_spider.h b/stim/gl/gl_spider.h index e2ae0ea..7f38c77 100644 --- a/stim/gl/gl_spider.h +++ b/stim/gl/gl_spider.h @@ -1570,9 +1570,6 @@ class gl_spider // : public virtual gl_texture { //Define the varibles and turn on Selection Mode - #ifdef TIMING - gpuStartTimer(); - #endif GLuint selectBuf[2048]; ///size of the selection buffer in bytes. GLint hits; ///hit fibers @@ -1602,6 +1599,9 @@ class gl_spider // : public virtual gl_texture glPushMatrix(); glLoadIdentity(); + #ifdef TIMING + gpuStartTimer(); + #endif CHECK_OPENGL_ERROR gluLookAt(ps[0], ps[1], ps[2], ds[0], ds[1], ds[2], -- libgit2 0.21.4