Commit ecc1259bc8294cf7a3a8f521be97bd0b9703411f

Authored by Pavel Govyadinov
1 parent 39a92d03

Changes since last update

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
stim/gl/gl_spider.h
... ... @@ -1570,9 +1570,6 @@ class gl_spider // : public virtual gl_texture<T>
1570 1570 {
1571 1571 //Define the varibles and turn on Selection Mode
1572 1572  
1573   - #ifdef TIMING
1574   - gpuStartTimer();
1575   - #endif
1576 1573  
1577 1574 GLuint selectBuf[2048]; ///size of the selection buffer in bytes.
1578 1575 GLint hits; ///hit fibers
... ... @@ -1602,6 +1599,9 @@ class gl_spider // : public virtual gl_texture<T>
1602 1599 glPushMatrix();
1603 1600 glLoadIdentity();
1604 1601  
  1602 + #ifdef TIMING
  1603 + gpuStartTimer();
  1604 + #endif
1605 1605 CHECK_OPENGL_ERROR
1606 1606 gluLookAt(ps[0], ps[1], ps[2],
1607 1607 ds[0], ds[1], ds[2],
... ...