Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 714 vs 715 for /trunk/Source Code/Platform/Video/Headers/GFXDevice.h

Diff revisions: vs.
  @@ -480,7 +480,9 @@
480 480 }
481 481
482 482 inline void syncThreadToGPU(std::thread::id threadID, bool beginSync) {
483 - _api->syncToThread(threadID);
483 + if (beginSync) {
484 + _api->syncToThread(threadID);
485 + }
484 486 }
485 487
486 488 protected:
  @@ -631,6 +633,7 @@
631 633 I32 _imShaderTextureFlag;
632 634 I32 _imShaderWorldMatrix;
633 635 /// The interface that coverts IM calls to VB data
636 + SharedLock _imInterfaceLock;
634 637 vectorImpl<IMPrimitive*> _imInterfaces;
635 638 vectorImpl<IMPrimitive*> _activeImInterfaces;
636 639 /// Current viewport stack