Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 933 vs 940 for /trunk/Source Code/Platform/Video/Headers/IMPrimitive.h

Diff revisions: vs.
  @@ -130,7 +130,7 @@
130 130 # endif
131 131 }
132 132
133 - virtual GFX::CommandBuffer toCommandBuffer() const = 0;
133 + virtual GFX::CommandBuffer& toCommandBuffer() const = 0;
134 134
135 135 void fromBox(const vec3<F32>& min,
136 136 const vec3<F32>& max,
  @@ -146,6 +146,8 @@
146 146 const vec4<I32>& viewport, //<only for ortho mode
147 147 const bool inViewport);
148 148 protected:
149 + GFX::CommandBuffer* _cmdBuffer = nullptr;
150 +
149 151 IMPrimitive(GFXDevice& context);
150 152 #ifdef _DEBUG
151 153 stringImpl _name;