Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 836 vs 867 for /trunk/Source Code/Platform/Video/Headers/GFXRTPool.h

Diff revisions: vs.
  @@ -40,7 +40,7 @@
40 40 class GFXRTPool {
41 41 protected:
42 42 typedef vectorImpl<RenderTarget*> TargetsPerUsage;
43 - typedef std::array<TargetsPerUsage, to_const_uint(RenderTargetUsage::COUNT)> RenderTargets;
43 + typedef std::array<TargetsPerUsage, to_const_U32(RenderTargetUsage::COUNT)> RenderTargets;
44 44
45 45 protected:
46 46 friend class GFXDevice;
  @@ -58,15 +58,15 @@
58 58 }
59 59
60 60 inline RenderTarget& renderTarget(RenderTargetID target) {
61 - return *_renderTargets[to_uint(target._usage)][target._index];
61 + return *_renderTargets[to_U32(target._usage)][target._index];
62 62 }
63 63
64 64 inline const RenderTarget& renderTarget(RenderTargetID target) const {
65 - return *_renderTargets[to_uint(target._usage)][target._index];
65 + return *_renderTargets[to_U32(target._usage)][target._index];
66 66 }
67 67
68 68 inline vectorImpl<RenderTarget*>& renderTargets(RenderTargetUsage target) {
69 - return _renderTargets[to_uint(target)];
69 + return _renderTargets[to_U32(target)];
70 70 }
71 71
72 72 inline void set(const RenderTargetHandle& handle, RenderTarget* newTarget) {