Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 826 vs 827 for /trunk/Source Code/Platform/Video/Direct3D/Buffers/ShaderBuffer/d3dConstantBuffer.cpp

Diff revisions: vs.
  @@ -6,12 +6,8 @@
6 6 IMPLEMENT_CUSTOM_ALLOCATOR(d3dConstantBuffer, 0, 0)
7 7
8 8 d3dConstantBuffer::d3dConstantBuffer(GFXDevice& context,
9 - const U32 ringBufferLength,
10 - bool unbound,
11 - bool persistentMapped,
12 - BufferUpdateFrequency frequency)
13 - : ShaderBuffer(context, ringBufferLength, unbound, persistentMapped, frequency)
14 -
9 + const ShaderBufferParams& params)
10 + : ShaderBuffer(context, params)
15 11 {
16 12 }
17 13
  @@ -19,10 +15,6 @@
19 15 {
20 16 }
21 17
22 - void d3dConstantBuffer::create(U32 primitiveCount, ptrdiff_t primitiveSize, U32 sizeFactor) {
23 - ShaderBuffer::create(primitiveCount, primitiveSize, sizeFactor);
24 - }
25 -
26 18 void d3dConstantBuffer::getData(ptrdiff_t offsetElementCount,
27 19 ptrdiff_t rangeElementCount,
28 20 bufferPtr result) const {