Project

General

Profile

« Previous | Next » 

Revision 3272cfb8

Added by Leszek Koltunski almost 3 years ago

Actually reset Node's mLastTime back to 0 each time we attach it somewhere.

View differences:

src/main/java/org/distorted/library/main/DistortedNode.java
41 41
  {
42 42
  private static final int DEFAULT_FBO_SIZE = 100;
43 43

  
44
  private MeshBase mMesh;
45
  private DistortedEffects mEffects;
44
  private final MeshBase mMesh;
45
  private final DistortedEffects mEffects;
46
  private final InternalRenderState mState;
47
  private final InternalChildrenList mChildren;
48
  private InternalChildrenList.Parent mParent;
46 49
  private InternalSurface mSurface;
47
  private InternalRenderState mState;
48 50
  private InternalNodeData mData;
49
  private InternalChildrenList mChildren;
50
  private InternalChildrenList.Parent mParent;
51 51

  
52 52
  private int mFboW, mFboH, mFboDepthStencil;
53 53
  private boolean mRenderWayOIT;
......
282 282
    return fbo;
283 283
    }
284 284

  
285
///////////////////////////////////////////////////////////////////////////////////////////////////
286

  
287
  void resetLastTime()
288
    {
289
    mLastTime = 0;
290
    }
291

  
285 292
///////////////////////////////////////////////////////////////////////////////////////////////////
286 293

  
287 294
  void setParent(InternalChildrenList.Parent parent)

Also available in: Unified diff