Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 892 vs 893 for /trunk/Source Code/Platform/Video/OpenGL/Buffers/ShaderBuffer/glUniformBuffer.cpp

Diff revisions: vs.
  @@ -66,8 +66,8 @@
66 66
67 67 IMPLEMENT_CUSTOM_ALLOCATOR(glUniformBuffer, 0, 0)
68 68 glUniformBuffer::glUniformBuffer(GFXDevice& context,
69 - const ShaderBufferParams& params)
70 - : ShaderBuffer(context, params)
69 + const ShaderBufferDescriptor& descriptor)
70 + : ShaderBuffer(context, descriptor)
71 71 {
72 72 _maxSize = _unbound ? GL_API::s_SSBMaxSize : GL_API::s_UBMaxSize;
73 73
  @@ -78,7 +78,7 @@
78 78 BufferImplParams implParams;
79 79 implParams._dataSizeInBytes = _allignedBufferSize * queueLength();
80 80 implParams._frequency = _frequency;
81 - implParams._initialData = params._initialData;
81 + implParams._initialData = descriptor._initialData;
82 82 implParams._target = _unbound ? GL_SHADER_STORAGE_BUFFER : GL_UNIFORM_BUFFER;
83 83
84 84 _buffer = MemoryManager_NEW glBufferImpl(implParams);