Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 908 vs 909 for /trunk/Source Code/Platform/Video/Headers/GFXDevice.h

Diff revisions: vs.
  @@ -317,12 +317,12 @@
317 317 _rtPool->set(target, newTarget);
318 318 }
319 319
320 - inline RenderTargetHandle allocateRT(RenderTargetUsage targetUsage, const stringImpl& name) {
321 - return _rtPool->add(targetUsage, newRT(name));
320 + inline RenderTargetHandle allocateRT(RenderTargetUsage targetUsage, const vec2<U16>& resolution, const stringImpl& name) {
321 + return _rtPool->add(targetUsage, newRT(resolution, name));
322 322 }
323 323
324 - inline RenderTargetHandle allocateRT(const stringImpl& name) {
325 - return allocateRT(RenderTargetUsage::OTHER, name);
324 + inline RenderTargetHandle allocateRT(const vec2<U16>& resolution, const stringImpl& name) {
325 + return allocateRT(RenderTargetUsage::OTHER, resolution, name);
326 326 }
327 327
328 328 inline bool deallocateRT(RenderTargetHandle& handle) {
  @@ -397,7 +397,7 @@
397 397
398 398 protected:
399 399 friend class GFXRTPool;
400 - RenderTarget* newRT(const stringImpl& name) const;
400 + RenderTarget* newRT(const vec2<U16>& resolution, const stringImpl& name) const;
401 401
402 402 void drawDebugFrustum(RenderSubPassCmds& subPassesInOut);
403 403